From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#46061: 28.0.50; error "=?UTF-8?Q?=E2=80=98'postgres=E2=80=99?= is not a known product Date: Thu, 8 Apr 2021 16:22:08 +0300 Message-ID: References: <86czxvtdi0.fsf@protected.rcdrun.com> <87tur6owe2.fsf@gnus.org> <87eeggvt99.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29331"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: 46061@debbugs.gnu.org To: Rudolf Schlatte Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 08 16:41:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUVqN-0007SW-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Apr 2021 16:41:15 +0200 Original-Received: from localhost ([::1]:32988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUVqM-000284-BM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Apr 2021 10:41:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUVqA-00027i-20 for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 10:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUVq9-0001Q4-Qx for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 10:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUVq9-0002xx-Nd for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 10:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Apr 2021 14:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46061 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46061-submit@debbugs.gnu.org id=B46061.161789285911387 (code B ref 46061); Thu, 08 Apr 2021 14:41:01 +0000 Original-Received: (at 46061) by debbugs.gnu.org; 8 Apr 2021 14:40:59 +0000 Original-Received: from localhost ([127.0.0.1]:47954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUVq6-0002xa-VD for submit@debbugs.gnu.org; Thu, 08 Apr 2021 10:40:59 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:34277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUUf8-000719-K4 for 46061@debbugs.gnu.org; Thu, 08 Apr 2021 09:25:35 -0400 Original-Received: from localhost ([::ffff:41.202.241.27]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001DF34.00000000606F0447.00006D44; Thu, 08 Apr 2021 06:25:26 -0700 Content-Disposition: inline In-Reply-To: X-Mailman-Approved-At: Thu, 08 Apr 2021 10:40:58 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203729 Archived-At: * Rudolf Schlatte [2021-03-16 11:54]: > Lars Ingebrigtsen writes: > > > Jean Louis writes: > > > >>> What's the value of the `sql-connection-alist' variable in the SQL buffer? > >> > >> (("local" (sql-product 'postgres) (sql-user "username") (sql-password > >> "password") (sql-database "mydatabase"))) > >> > >> This problem does not appear always and I cannot reproduce it. > > Just a wild guess, but is there a misplaced quote in `(sql-product > 'postgres)', i.e., should it be `(sql-product postgres)' instead? > > (Please feel free to ignore this mail if that's not the case.) I am on development version. This does not happen always. I do: - M-x sql-postgres and enter - then at the exact moment when I click SQL menu, I get this error: Debugger entered--Lisp error: (error "‘'postgres’ is not a known product; use ‘sql-add-product’ to add it first.") signal(error ("‘'postgres’ is not a known product; use ‘sql-add-product’ to add it first.")) error("`%s' is not a known product; use `sql-add-product' to add it first." 'postgres) sql-get-product-feature('postgres :sqli-login) sql-make-alternate-buffer-name() #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((sql-product ''postgres) (sql-user '"username") (sql-password '"password") (sql-database '"rcdbusiness")) (funcall '#f(compiled-function () #))) eval((let ((sql-product ''postgres) (sql-user '"username") (sql-password '"password") (sql-database '"rcdbusiness")) (funcall '#f(compiled-function () #)))) #f(compiled-function (conn) #)(("local" (sql-product 'postgres) (sql-user "username") (sql-password "password") (sql-database "rcdbusiness"))) mapcar(#f(compiled-function (conn) #) (("local" (sql-product 'postgres) (sql-user "username") (sql-password "password") (sql-database "rcdbusiness")))) sql-connection-menu-filter(("--" ["New SQLi Session" sql-product-interactive (sql-get-product-feature sql-product :sqli-comint-func)])) #f(compiled-function (menu) #)(("--" ["New SQLi Session" sql-product-interactive (sql-get-product-feature sql-product :sqli-comint-func)]))