Re: [HACKERS] psql Week 1

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Matthew N(dot) Dodd" <winter(at)jurai(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] psql Week 1
Date: 1999-10-06 16:29:09
Message-ID: Pine.LNX.4.10.9910061828000.1744-100000@peter-e.yi.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)gmx(dot)net
http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 1999-10-06 16:34:37 Re: AW: [HACKERS] psql Week 1
Previous Message Peter Eisentraut 1999-10-06 16:26:49 Re: [HACKERS] psql Week 1