Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X7F5a-0004C9-Tq for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jul 2014 02:37:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X7F5a-0003Tl-7C for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jul 2014 02:37:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X7F5Z-0003Ss-Cl for pgsql-bugs@postgresql.org; Wed, 16 Jul 2014 02:37:01 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X7F5V-0002UC-Hn for pgsql-bugs@postgresql.org; Wed, 16 Jul 2014 02:37:00 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id BE7DA5F7C8; Tue, 15 Jul 2014 22:36:56 -0400 (EDT) Date: Tue, 15 Jul 2014 22:36:56 -0400 From: Stephen Frost To: Tom Lane Cc: Marko Tiikkaja , pgsql-bugs@postgresql.org, Peter Eisentraut Subject: Re: BUG #10794: psql sometimes ignores .psqlrc Message-ID: <20140716023656.GV16422@tamriel.snowman.net> References: <20140628211359.15697.92594@wrigleys.postgresql.org> <53C5A4B1.8040107@joh.to> <7716.1405475499@sss.pgh.pa.us> <20140716020514.GU16422@tamriel.snowman.net> <8579.1405477744@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Se7r6+WGlSF2mKVG" Content-Disposition: inline In-Reply-To: <8579.1405477744@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.11.0-19-generic (x86_64) X-Uptime: 22:30:16 up 98 days, 12:49, 8 users, load average: 0.01, 0.04, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --Se7r6+WGlSF2mKVG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (adding Peter to the CC, as the author of 9099e4afe) * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > >> In any case, I'm disinclined to mess with this in the back branches ... >=20 > > If we have a simple/clean patch to fix the "Ctrl-C ignored at password > > prompt", such that, instead, psql exits more-or-less immediately then > > I'd be for back-patching just that as it certainly has always felt like > > a wart or even a bug to me, but I agree that we don't want to introduce > > other behavior changes beyond that in back-branches. >=20 > That would be commit 9099e4afe. I won't vote against back-patching if > people think it's unlikely that anyone is expecting the old behavior. I'm having a hard time seeing how someone would be depending on the old behavior. I'm for back-patching that change but given that it's in the client, I won't press the issue if someone actually feels like there's a chance it'd break some existing usage. Peter- any particular reason you didn't backpatch 9099e4afe? Were you concerned that it would break something for people, or just didn't as it wasn't asked for? (If so- please consider it now asked for.. :) > > While we're at it, we should fix the complaint about .psql_history being > > missing.. This isn't an error, imv: > > could not save history to file "/home/sfrost/.psql_history": No such fi= le or directory >=20 > Eh? I've not seen anything like that personally. I seem to recall having > heard of it happening with broken readline or libedit versions, but we > don't have very much ability to work around bugs in those. Oh? I get it every time I run psql w/o a .psql_history file on a stock Ubuntu system which certainly has a current libreadline installed.. Will have to investigate a bit more. Thanks, Stephen --Se7r6+WGlSF2mKVG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTxeVIAAoJEO1sijiDR2RVXH0P/3N8m4dtkcMqJLkpx6p16YCW N9qFDZZDscIhOqqqnrzIuu5Uzc8U6sSMIb35iyFxpVIUJtk22oWxlQ9sWnjVerZj nSAWS7D467t8/BvpBee7yeyEQ4GSPd5ETAmXLgKX2JHO91B+Ej1Lja9uh0mP8uYw IW0pzFLaINrMMXFWgeqWY/nNSR/d0OY1BqMgx/Vk6oxQ+sfkzPNe0fvbdBTVQaB8 ZxYPuoS5QmhccAWMHFm549PSyUTr17+6C9ywoYFoPlDQ5PFefiLHzicuyjrrnJMo yXyXPaoj/SsL1BknXMaXKSWx3JSx+UfLGm0nUt2k0buwFHk1YVz8SLfcFEFZSeTF zG1mDYg6i7ZCU1S1cI3RtTLg/ctIdNH9zzerxW+9ewiY6XvbfhrWOHmnXuN77qcX dDZu0wGhKRCuIsu5alGw4GEm+VUqpjteN0rNQ6KZgEKN9naf0miP+vCwhgHZuin2 hX+A+DMxoxnRAWijzv3urk0nZntGQ0ls4kD3OrrUQUeBedDcAXzNg1C80s069cm1 P9vVmbRZqsYmnPTRpNGVN/UPx4fKhgJvyIVV79lCy0KjPfOjRvZW7ejfdV8zao2x HkFyP6nYhJLqDwOuRMjEPbJWpy0WrJNtanwBWFDmq+PoslyhAuQnDO7sOEUvWMPx IasPAxcR0ylwHRoszOmr =XMcB -----END PGP SIGNATURE----- --Se7r6+WGlSF2mKVG--