Re: [HACKERS] psql Week 1

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: "Matthew N. Dodd" <winter@jurai.net>
Cc: pgsql-hackers@postgresql.org
Date: 1999-10-06T16:29:09Z
Lists: pgsql-hackers
On Oct 6, Matthew N. Dodd mentioned:

> On Tue, 5 Oct 1999, Peter Eisentraut wrote:
> > * when \connect fails, it now keeps the previous connection (formerly
> >   aborted program)
> 
> This is bad.
> 
> Consider some process that connects to various DBs and does stuff like
> drop foo.
> 
> If connect fails assume that the user no longer wanted to be connected to
> the old connection.

I forgot to mention that this only happens in interactive mode for the
very reason you cited. I do not see a problem there.

-- 
Peter Eisentraut - peter_e@gmx.net
http://yi.org/peter-e/