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, 13 May 2021 18:28:46 +0300 Message-ID: References: <86czxvtdi0.fsf@protected.rcdrun.com> <87tur6owe2.fsf@gnus.org> <87eeggvt99.fsf@gnus.org> <87tun6on87.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="35655"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: 46061@debbugs.gnu.org, Rudolf Schlatte To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 13 17:31:47 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 1lhDJS-00099M-Bm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 17:31:46 +0200 Original-Received: from localhost ([::1]:41714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhDJR-0006Ax-Bb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 11:31:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhDIl-000688-Td for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 11:31:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhDIk-0001zc-2R for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 11:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhDIj-0006UW-Uv for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 11:31: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, 13 May 2021 15:31: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.162091984224924 (code B ref 46061); Thu, 13 May 2021 15:31:01 +0000 Original-Received: (at 46061) by debbugs.gnu.org; 13 May 2021 15:30:42 +0000 Original-Received: from localhost ([127.0.0.1]:44137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhDIM-0006Tt-Nd for submit@debbugs.gnu.org; Thu, 13 May 2021 11:30:42 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:39785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhDII-0006Ta-LE for 46061@debbugs.gnu.org; Thu, 13 May 2021 11:30:37 -0400 Original-Received: from localhost ([::ffff:102.82.130.112]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000ABF0D.00000000609D4613.000023A0; Thu, 13 May 2021 08:30:26 -0700 Content-Disposition: inline In-Reply-To: <87tun6on87.fsf@gnus.org> 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:206448 Archived-At: * Lars Ingebrigtsen [2021-05-13 15:03]: > Jean Louis writes: > > > - 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) > > [...] > > > (("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)])) > > I think this has to mean that your sql-product is set to 'postgres > instead of postgres. > > That is, somewhere you have > > (setq sql-product ''postgres) > > with an extra ' character. Or perhaps in a defcustom setting. Is this > the case? I am choosing the product by using customize-variable, so the value is 'postgres as symbol. The same problem I have observed before 4 weeks, but I do not observe it now. The problem was there when I click with the mouse on SQL menu item, before the menu item even opens. I can see that I re-factored the settings and hard-coded it to: (setq sql-product (quote postgres)) I cannot reproduce it. I don't know why, and I don't see any log of changes in the git repository. It happened by rule when I clicked on the "SQL"menu. Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/ https://rms-support-letter.github.io/