Re: pgbench - allow backslash-continuations in custom scripts
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgbench - allow backslash-continuations in custom scripts |
| Дата | |
| Msg-id | 30529.1458589848@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pgbench - allow backslash-continuations in custom scripts (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: pgbench - allow backslash-continuations in custom scripts
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> Mmph. I just don't see any benefit in being able to start a command
> in the middle of a line.
I agree that there's no functional benefit; it's a matter of consistency.
In particular, psql has always allowed you to write multiple SQL commands
per line:
SELECT 2+2; SELECT x FROM tab; SELECT y FROM othertab;
and as of yesterday pgbench supports that as well. So allowing multiple
backslash commands on a line improves consistency both with psql and with
pgbench's own behavior, IMV.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера