unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jean Louis <louis@rcdsociety.com>
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 14:02:48 +0200	[thread overview]
Message-ID: <87tun6on87.fsf@gnus.org> (raw)
In-Reply-To: <YG8DgF0gHC8JoGgo@protected.localdomain> (Jean Louis's message of "Thu, 8 Apr 2021 16:22:08 +0300")

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?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-05-13 12:02 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 [this message]
2021-05-13 15:28             ` Jean Louis
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=87tun6on87.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=46061@debbugs.gnu.org \
    --cc=louis@rcdsociety.com \
    --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).