pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marko Tiikkaja <marko@joh.to>
Cc: pgsql-bugs@postgresql.org
Cc: Peter Eisentraut <peter_e@gmx.net>
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
Date: Tue, 15 Jul 2014 22:36:56 -0400
Message-ID: <20140716023656.GV16422@tamriel.snowman.net> (raw)
In-Reply-To: <8579.1405477744@sss.pgh.pa.us>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

(adding Peter to the CC, as the author of 9099e4afe)

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> >> In any case, I'm disinclined to mess with this in the back branches ...
> 
> > 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.
> 
> 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 file or directory
> 
> 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (9+ messages)  latest in thread

Message-ID: <20140716023656.GV16422@tamriel.snowman.net>
Permalink:  ../20140716023656.GV16422@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20140716023656.GV16422@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, marko@joh.to, peter_e@gmx.net
  Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
  In-Reply-To: <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> <20140716023656.GV16422@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox