Re: [HACKERS] Disallowing multiple queries per PQexec()

Поиск
Список
Период
Сортировка
От Vaishnavi Prabakaran
Тема Re: [HACKERS] Disallowing multiple queries per PQexec()
Дата
Msg-id CAOoUkxSqjGU_e4K7+71hUv1mrd3zm0t6aPzARef2Y4gOkdM-Gw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Disallowing multiple queries per PQexec()  (Surafel Temesgen <surafel3000@gmail.com>)
Ответы Re: [HACKERS] Disallowing multiple queries per PQexec()  (Surafel Temesgen <surafel3000@gmail.com>)
Список pgsql-hackers


On Thu, May 18, 2017 at 2:56 AM, Surafel Temesgen <surafel3000@gmail.com> wrote:

Sorry for being very late. I also think guc version of the patch can be acceptable and useful.

I modified the patch as such and added to commitfest 2017-07.



You need documentation changes in "libpq - C Library" chapter's PQexec section, where it is mentioned that command string can contain multiple SQL commands and explain how it behaves. 

I think GUC's name can be something like "multiple_query_execution" and setting it ON/OFF will be better. I think others will also come up with some suggestions here as the current name doesn't go well with other existing GUCs.

Also, consider adding this new GUC in postgresql.conf.sample file. 

Regards,
Vaishnavi,
Fujitsu Australia.

  

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: [HACKERS] 10beta1 sequence regression failure on sparc64