pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Fetter <david@fetter.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Philip Yarra <philip@utiba.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: psql \c error
Date: Wed, 29 Mar 2006 19:23:28 -0800
Message-ID: <20060330032328.GC22611@fetter.org> (raw)
In-Reply-To: <9241.1143688791@sss.pgh.pa.us>
References: <200603301120.09969.philip@utiba.com>
	<9241.1143688791@sss.pgh.pa.us>

On Wed, Mar 29, 2006 at 10:19:51PM -0500, Tom Lane wrote:
> Philip Yarra <philip@utiba.com> writes:
> > Hi folks, I've found that CVS HEAD psql's \c doesn't quite behave as
> > expected 
> 
> Yeah, there were complaints about this already.  I think the problem was
> introduced by this patch:

I sent one patch to fix this, which went ignored, and Volkan Yazici
sent another one, to which the same thing happened.

Cheers,
D
> 
> 2006-02-11 21:54  momjian
> 
> 	* doc/src/sgml/ref/psql-ref.sgml, src/bin/psql/command.c,
> 	src/bin/psql/help.c: Please find enclosed a patch that lets you use
> 	\c to connect (optionally) to a new host and port without exiting
> 	psql.  This eliminates, IMHO, a surprise in that you can now
> 	connect to PostgreSQL on a differnt machine from the one where you
> 	started your session. This should help people who use psql as an
> 	administrative tool.
> 	
> 	David Fetter
> 
> The patch seems not to behave very reasonably with respect to preserving
> prior values for the newly-changeable connection parameters.  I haven't
> got time to look into it myself right now though --- do you want to?
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!



view thread (8+ messages)  latest in thread

Message-ID: <20060330032328.GC22611@fetter.org>
Permalink:  ../20060330032328.GC22611@fetter.org/
Also on:    postgresql.org/message-id/20060330032328.GC22611@fetter.org

 · 

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-hackers@postgresql.org
  Cc: david@fetter.org, tgl@sss.pgh.pa.us, philip@utiba.com
  Subject: Re: psql \c error
  In-Reply-To: <20060330032328.GC22611@fetter.org>
  References: <200603301120.09969.philip@utiba.com> <9241.1143688791@sss.pgh.pa.us> <20060330032328.GC22611@fetter.org>

* 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