Re: psql patch: new host/port without leaving session - Mailing list pgsql-patches

From Tom Lane
Subject Re: psql patch: new host/port without leaving session
Date
Msg-id 16410.1143938767@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql patch: new host/port without leaving session  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> One question about behavior: in the attached patch, omitting an argument
> to \connect or specifying "-" are treated equivalently -- the value for
> that parameter from the previous connection is used, otherwise NULL (for
> the libpq default). Is this what people want?

Yes, that's the behavior I'd expect.  The traditional \c behavior for
the two longstanding options (dbname and username) was exactly that,
no?

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: psql patch: new host/port without leaving session
Next
From: Bruce Momjian
Date:
Subject: Re: Additional current timestamp values