Re: Use \if ... \elif ... \else ... \endif to simplify alternative in psql scripting. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Use \if ... \elif ... \else ... \endif to simplify alternative in psql scripting.
Date
Msg-id 8623.1490893973@sss.pgh.pa.us
Whole thread Raw
In response to Use \if ... \elif ... \else ... \endif to simplify alternative inpsql scripting.  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Use \if ... \elif ... \else ... \endif to simplify alternative inpsql scripting.
Next
From: Andres Freund
Date:
Subject: Re: Logical decoding on standby