Re: InitPostgres and flatfiles question
От | Ron Mayer |
---|---|
Тема | Re: InitPostgres and flatfiles question |
Дата | |
Msg-id | 459EB620.6050705@cheapcomplexdevices.com обсуждение исходный текст |
Ответ на | Re: InitPostgres and flatfiles question (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: InitPostgres and flatfiles question
Re: InitPostgres and flatfiles question |
Список | 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. Doesn't it also avoid some network(?) overhead when you have a large number of small inserts or updates? I seem to recall a previous company where we had a major performance by concatenating a bunch of updates with ";"s in between and sending them to postgresql as a single command.
В списке pgsql-hackers по дате отправления: