Re: psql removes dashed comments

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: psql removes dashed comments
Дата
Msg-id CAKFQuwZm=AbOC3O0QxAyave9GvcjQGx-F+OjJfjmkLC5ON9woQ@mail.gmail.com
обсуждение исходный текст
Ответ на psql removes dashed comments  (Boris Zentner <bzm@2bz.de>)
Ответы Re: psql removes dashed comments  (Boris Zentner <bzm@2bz.de>)
Список pgsql-general
On Thursday, April 7, 2022, Boris Zentner <bzm@2bz.de> wrote:

I was wondering why psql loose dashed comments and what can be done about this misbehaviour.

postgres=# \e


Because \e treats the query buffer as a single line of code and dashed comments cannot be used, just like meta-commands cannot be used.

Including a filename should establish the behavior you desire.

David J. 
 

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: psql removes dashed comments
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: psql removes dashed comments