GNU bug report logs -
#46061
28.0.50; error "‘'postgres’ is not a known product
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Sat, 23 Jan 2021 23:59:02 UTC
Severity: minor
Tags: moreinfo
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 46061 <at> debbugs.gnu.org (full text, mbox):
Jean Louis <louis <at> 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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 346 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.