Thread: Use \if ... \elif ... \else ... \endif to simplify alternative inpsql scripting.

On 2017-03-30 16:59:39 +0000, Tom Lane wrote:
> Support \if ... \elif ... \else ... \endif in psql scripting.

Could we use this to simplify maintenance of some of the larger
alternative output files?



Andres Freund <andres@anarazel.de> writes:
> On 2017-03-30 16:59:39 +0000, Tom Lane wrote:
>> Support \if ... \elif ... \else ... \endif in psql scripting.

> Could we use this to simplify maintenance of some of the larger
> alternative output files?

Worth thinking about, for sure.
        regards, tom lane