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

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

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

От:
Andres Freund <andres@anarazel.de>
Дата:
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 <tgl@sss.pgh.pa.us>
Дата:
Andres Freund  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


FAQ