From: Jean Louis <bugs@gnu.support>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46061@debbugs.gnu.org, Rudolf Schlatte <rudi@constantly.at>
Subject: bug#46061: 28.0.50; error "‘'postgres’ is not a known product
Date: Thu, 13 May 2021 18:28:46 +0300 [thread overview]
Message-ID: <YJ1FrvoNjgbPmqr/@protected.localdomain> (raw)
In-Reply-To: <87tun6on87.fsf@gnus.org>
* Lars Ingebrigtsen <larsi@gnus.org> [2021-05-13 15:03]:
> Jean Louis <louis@rcdsociety.com> 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/
next prev parent reply other threads:[~2021-05-13 15:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-23 23:55 bug#46061: 28.0.50; error "‘'postgres’ is not a known product Jean Louis
2021-01-24 21:30 ` Lars Ingebrigtsen
2021-03-01 15:17 ` Lars Ingebrigtsen
2021-03-14 8:32 ` Jean Louis
2021-03-16 0:26 ` Lars Ingebrigtsen
2021-03-16 8:53 ` Rudolf Schlatte
2021-04-08 13:22 ` Jean Louis
2021-05-13 12:02 ` Lars Ingebrigtsen
2021-05-13 15:28 ` Jean Louis [this message]
2021-05-16 13:56 ` Lars Ingebrigtsen
2021-06-05 16:11 ` Jean Louis
2021-01-25 17:27 ` Benjamin Riefenstahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YJ1FrvoNjgbPmqr/@protected.localdomain \
--to=bugs@gnu.support \
--cc=46061@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=rudi@constantly.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).