Re: unexpected psql "feature"
От | David G. Johnston |
---|---|
Тема | Re: unexpected psql "feature" |
Дата | |
Msg-id | CAKFQuwaoorvwWMP8NpQf8j9TQCgrNsvvkvoXc-bKh71qu1gUJw@mail.gmail.com обсуждение исходный текст |
Ответ на | unexpected psql "feature" (Fabien COELHO <coelho@cri.ensmp.fr>) |
Ответы |
Re: unexpected psql "feature"
|
Список | pgsql-hackers |
I would suggest that:
- the \; psql feature should be documented somewhere
agreed
- all results should be shown, not just the last one
disagree
# select 1 ; select 2 ;
?column?
--------------
1
(1 row)
?column?
-------------
2
(1 row)
Having
# select 1 \; select 2 ;
Result in identical behavior seems undesirable. At least now if you want to discard all intermediate work and just show the last statement you can do so without going to any great lengths. If you really want both results don't use "\;". This makes even more sense when the earlier statements are DML instead of SELECT.
David J.
В списке pgsql-hackers по дате отправления: