pgbench - allow backslash-continuations in custom scripts

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема pgbench - allow backslash-continuations in custom scripts
Дата
Msg-id alpine.DEB.2.10.1505141510130.1821@sto
обсуждение исходный текст
Список pgsql-hackers
Add backslash continuations to pgbench custom scripts.

The benefit of this approach is that it is upward compatible, and it is 
also pretty simple to implement. The downside is that backslash 
continuation is not the best syntax ever invented, but then you do not 
have to use it if you do not like it.

The alternative would be to make semi-colon a mandatory end-of-line 
marker, which would introduce an incompatibility and requires more efforts 
to implement, including some kind of SQL-compatible lexer.

IMHO this approach is the best compromise.

-- 
Fabien.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add pg_audit, an auditing extension
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: PATCH: pgbench allow '=' in \set