Re: unexpected psql "feature"

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: unexpected psql "feature"
Дата
Msg-id CAKFQuwatDsE2F7KbktMaTjrzspw8Uy28syaOGoUwnL=KJdFNug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: unexpected psql "feature"  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: unexpected psql "feature"  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On Wed, Jul 13, 2016 at 5:44 PM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:

I do not think changing this is appropriate.  All you are likely to
accomplish is breaking code that does what its author wanted.

Hmmm... My 0.02€: Currently this feature is NOT documented, so somehow it is not supported, and relying on it seems risky, as it is really a side effect of the current implementation. If it becomes documented, it could be made to behave sanely at the same time...

​To me it has sane and well-defined behavior - if maybe rarely useful.

Why would you choose to execute "SELECT 1 \; SELECT 2;" instead of "SELECT 1; SELECT 2;"​ in a setup where the behavior of both strings is identical?  Or, rather, how would they differ?

David J.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: unexpected psql "feature"
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: unexpected psql "feature"