| От | Tom Lane |
|---|---|
| Тема | Re: InitPostgres and flatfiles question |
| Дата | |
| Msg-id | 18111.1167929076@sss.pgh.pa.us обсуждение |
| Ответ на | Re: InitPostgres and flatfiles question (Markus Schiltknecht <markus@bluegap.ch>) |
| Ответы |
Re: InitPostgres and flatfiles question
|
| Список | pgsql-hackers |
Markus Schiltknecht <markus@bluegap.ch> writes:
> Tom Lane wrote:
>> Hm, that's an interesting point. psql's -c just shoves its whole
>> argument string at the backend in one PQexec(), instead of dividing
>> at semicolons as psql does with normal input.
> Is there a good reason to not let psql -c behave exactly like psql from
> STDIN?
Backwards compatibility, mostly --- there seems to be a considerable
risk of subtly breaking people's scripts if we change the transactional
boundaries for psql -c commands.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера