Re: unexpected psql "feature" - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: unexpected psql "feature"
Date
Msg-id CAKFQuwatDsE2F7KbktMaTjrzspw8Uy28syaOGoUwnL=KJdFNug@mail.gmail.com
Whole thread Raw
In response to Re: unexpected psql "feature"  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: unexpected psql "feature"  (Fabien COELHO <coelho@cri.ensmp.fr>)
List 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 by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: unexpected psql "feature"
Next
From: "David G. Johnston"
Date:
Subject: Re: unexpected psql "feature"