Re: AW: [HACKERS] psql Week 1
От | Peter Eisentraut |
---|---|
Тема | Re: AW: [HACKERS] psql Week 1 |
Дата | |
Msg-id | Pine.LNX.4.10.9910061831100.1744-100000@peter-e.yi.org обсуждение исходный текст |
Ответ на | AW: [HACKERS] psql Week 1 (Zeugswetter Andreas IZ5 <ZeugswetterA@wien.spardat.at>) |
Список | pgsql-hackers |
On Oct 6, Zeugswetter Andreas IZ5 mentioned: > > * 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. See earlier response. Only in interactive mode. The idea was that a typo should not bomb you out of the program. > The ultimate solution would be an unconnected state, where only > \connect or help commands would be accepted. I had that idea, too, but that would open a whole new can of worms code-wise. Can you guys out there comment if this feature would be desirable? -- Peter Eisentraut - peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-hackers по дате отправления: