GNU bug report logs - #36958
27.0.50; SQL buffer local connection parameters are ignored

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Vitalie Spinu <spinuvit@HIDDEN>; dated Wed, 7 Aug 2019 14:39:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 7 Aug 2019 14:38:01 +0000
From debbugs-submit-bounces <at> Wed Aug 07 10:38:01 2019
Received: from localhost ([]:39190
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1hvN4i-0003f4-Sj
	for submit <at>; Wed, 07 Aug 2019 10:38:01 -0400
Received: from ([]:51352)
 by with esmtp (Exim 4.84_2)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4g-0003ex-O7
 for submit <at>; Wed, 07 Aug 2019 10:37:59 -0400
Received: from ([2001:470:142:3::10]:42148)
 by with esmtp (Exim 4.86_2)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4f-0007W4-PZ
 for bug-gnu-emacs@HIDDEN; Wed, 07 Aug 2019 10:37:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4e-00081u-Pv
 for bug-gnu-emacs@HIDDEN; Wed, 07 Aug 2019 10:37:57 -0400
Received: from ([2a00:1450:4864:20::52e]:41314)
 by with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <spinuvit@HIDDEN>) id 1hvN4e-000815-K1
 for bug-gnu-emacs@HIDDEN; Wed, 07 Aug 2019 10:37:56 -0400
Received: by with SMTP id p15so86465399eds.8
 for <bug-gnu-emacs@HIDDEN>; Wed, 07 Aug 2019 07:37:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: APjAAAWxJWjfUJPE6nru3a+S+xfejTkXyEqD+7oCHddSADpyT04Vy7dK
X-Google-Smtp-Source: APXvYqy8RR9/DP+2EZMdrANmu9Lz9wqI8ZWdLzJeE9xiYyboG91Ujywt1LnsQn2FmFbjXPKx+9f2jw==
X-Received: by 2002:a05:6402:609:: with SMTP id
 Wed, 07 Aug 2019 07:37:54 -0700 (PDT)
Received: from localhost ([])
 by with ESMTPSA id w24sm21423675edb.90.2019.
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 07 Aug 2019 07:37:53 -0700 (PDT)
From: Vitalie Spinu <spinuvit@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; SQL buffer local connection parameters are ignored
Date: Wed, 07 Aug 2019 16:37:52 +0200
Message-ID: <86pnlh3utb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by Genre and OS details not
X-Received-From: 2a00:1450:4864:20::52e
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: michael@HIDDEN
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -2.3 (--)


Two related issues concerning the sql product and process parameters

 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

   Consequently, there seem not to be a good way to customize sql process per

 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.


In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-08-07 built on NB277
Repository revision: 2e29a2580e22bb708c9578b9b25a0b9a9b862936
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 18.04.2 LTS

Acknowledgement sent to Vitalie Spinu <spinuvit@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#36958; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.