Re: InitPostgres and flatfiles question

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: InitPostgres and flatfiles question
Дата
Msg-id 3845.24.211.165.134.1168054828.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: InitPostgres and flatfiles question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>> Tom Lane wrote:
>>> Bruce Momjian <bruce@momjian.us> writes:
>>>> What value is allowing multiple queies via PQexec()
>>>
>>> The only argument I can think of is that it allows applications to be
>>> sloppy about parsing a SQL script into individual commands before they
>>> send it.  (I think initdb may be guilty of exactly that BTW...)  At the
>>> same time you could argue that such sloppiness is inherently a Bad
>>> Idea.


initdb doesn't use libpq at all ... are you saying it should only pass
individual statements to the backend? Adding smarts to enable that would
add complexity without any benefit I can see.

cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] A patch to pg_regress for Windows port
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off