Subject: bug#36958: 27.0.50; SQL buffer local connection parameters are ignored

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 18 May 2022 16:25:05 +0200

Vitalie Spinu <[email-masked]> writes:

> Two related issues concerning the sql product and process parameters
> customization.
>
>  1) Buffer local sql variables (sql-user, sql-server etc) are ignored by comint
>    process builder (sql-product-interactive). Happens because of the change back
>    in 2012 (f6561e1f9a56119bf) which made only the default values to take
>    effect.
>
>    Consequently, there seem not to be a good way to customize sql process per
>    dir/buffer. 
>
>  2) :sqli-login keys in sql-product-alist are just as well ignored. So if I
>    create a new entry in sql-product-alist with custom login details, those
>    won't take effect.
>
> It seems that both of these issues are contrary to the original design as
> described in the comments section of sql.el.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Michael, do you have any comments here?

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