AW: [HACKERS] psql Week 1 - Mailing list pgsql-hackers

From Zeugswetter Andreas IZ5
Subject AW: [HACKERS] psql Week 1
Date
Msg-id 219F68D65015D011A8E000006F8590C60339E109@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
Responses Re: AW: [HACKERS] psql Week 1
List pgsql-hackers
> * when \connect fails, it now keeps the previous connection (formerly
>   aborted program)

This was the behavior at one time, but it was regarded as very dangerous
and thus changed to the current behavior.

The problem was, that scripts would do things to the wrong database if a
connect failed.

The ultimate solution would be an unconnected state, where only
\connect or help commands would be accepted.

Andreas


pgsql-hackers by date:

Previous
From: "Ansley, Michael"
Date:
Subject: RE: [HACKERS] psql Week 1
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison