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> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Aug 2019 14:38:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 07 10:38:01 2019
Received: from localhost ([127.0.0.1]:39190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hvN4i-0003f4-Sj
	for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 10:38:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:51352)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4g-0003ex-O7
 for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 10:37:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42148)
 by lists.gnu.org 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 eggs.gnu.org
X-Spam-Level: 
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 eggs.gnu.org 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 mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:41314)
 by eggs.gnu.org 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 mail-ed1-x52e.google.com 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; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version;
 bh=mfkUZHZWz8LVLy3o1tE8dTeJfDXMOotZKpU1+7aN4aA=;
 b=iGd+Di6jpD+n7qHZ1zWb81T1oXK+/DMxMSBs+tIbmJX0Auytvw39slWVsLTuZk4Oen
 hSNGmwoWEmcL4fWBAGueMow7+Gm7OpEUj/p/QVl7dHqh1q2nJckukSuhUFm9f56OOaAm
 wstONoXNsgYtDNgrAs8t828v8Fd7JL5E/HqPyzTIWxTqfClla2MZvhTD+X4DxhNmmlNT
 1PF7RX7YTUaKi31OZbz/AMRw6n1x0ffNgI1aVOeP0a8mCVHbzR1GeJW35v60NEKrTpKy
 waGCoAlFfIHeoa7H2xo/EdSsEKRPUjRl66kGgzfAim+6Dc/+qTVQD0Rw2SlnCl8wN5XV
 kHIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version;
 bh=mfkUZHZWz8LVLy3o1tE8dTeJfDXMOotZKpU1+7aN4aA=;
 b=S1SiAkaJULgfz2YvAMmNfzEfJAGiS8mw+bArqx8Jc45imvcCuRPETSkK3GZhDkDzHD
 jSg231nBhdV+F3Kw65GXyGhVwx2hAmND6Kv2VrSkxNOUQzAZYAIWYrS4NxyXIXD+zPas
 NNqhqS0dnWAtqkLXGc1573ULcpf9seUKi5WAGnKwL8rXRMO4OyoBMOkH+cHMsnQG6w+E
 0+pfNh3dKrecmfh3+30cjpMArqHrXumHW9YR8jOe43qxX6kazIpkgIAYnO46OQTJmhFZ
 AFOz/V3YcJwrKPD6GS0H+Iq0e5tXRFRNmzUOcixa7t+uxP54mtZ/FWeaiaWxSRwna3aT
 nYYg==
X-Gm-Message-State: APjAAAWxJWjfUJPE6nru3a+S+xfejTkXyEqD+7oCHddSADpyT04Vy7dK
 mSXpy0md2nj42zJbCH8BKnle9tYi
X-Google-Smtp-Source: APXvYqy8RR9/DP+2EZMdrANmu9Lz9wqI8ZWdLzJeE9xiYyboG91Ujywt1LnsQn2FmFbjXPKx+9f2jw==
X-Received: by 2002:a05:6402:609:: with SMTP id
 n9mr10126227edv.159.1565188674068; 
 Wed, 07 Aug 2019 07:37:54 -0700 (PDT)
Received: from localhost ([217.111.1.50])
 by smtp.gmail.com with ESMTPSA id w24sm21423675edb.90.2019.08.07.07.37.53
 (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 eggs.gnu.org: Genre and OS details not
 recognized.
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> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)



Hi,

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.


  Vitalie


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.