pgbench - allow backslash continuations in \set expressions

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема pgbench - allow backslash continuations in \set expressions
Дата
Msg-id alpine.DEB.2.20.1610031049310.19411@lancre
обсуждение исходный текст
Ответы Re: pgbench - allow backslash continuations in \set expressions  (Christoph Berg <myon@debian.org>)
Re: pgbench - allow backslash continuations in \set expressions  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Attached patch does what is described in the title, hopefully.
Continuations in other pgbench backslash-commands should be dealt with
elsewhere...

Also attached is a small test script.

While looking at the code, I noticed that newline is \n. Maybe it should
be (\r|\n|\r\n) to allow for MacOS & Windows. I have not changed that for
now.

--
Fabien.
Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Backporting PostgresNode.pm
Следующее
От: Stas Kelvich
Дата:
Сообщение: Re: WIP: About CMake v2