Обсуждение: Use \if ... \elif ... \else ... \endif to simplify alternative inpsql scripting.

Поиск
Список
Период
Сортировка

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

От
Andres Freund
Дата:
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?



Re: Use \if ... \elif ... \else ... \endif to simplify alternative in psql scripting.

От
Tom Lane
Дата:
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