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

Поиск
Список
Период
Сортировка
От Surafel Temesgen
Тема Re: [HACKERS] Disallowing multiple queries per PQexec()
Дата
Msg-id CALAY4q_eHUx=3p1QUOvabibwBvxEWGm-bzORrHA-itB7MBtd5Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Disallowing multiple queries per PQexec()  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: [HACKERS] Disallowing multiple queries per PQexec()  (Fabien COELHO <coelho@cri.ensmp.fr>)
Re: [HACKERS] Disallowing multiple queries per PQexec()  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers


On Mon, Jun 12, 2017 at 5:22 PM, Daniel Verite <daniel@manitou-mail.org> wrote:

PGC_POSTMASTER implies that it's an instance-wide setting.
Is is intentional? I can understand that it's more secure for this not to
be changeable in an existing session, but it's also much less usable if you
can't set it per-database and per-user.
Maybe it should be PGC_SUSET ?
It’s my misunderstanding I thought PGC_POSTMASTER set only by 
superuser and changed with a hard restart 

I attach a patch that incorporate the comments and uses similar routines
with the rest of the file rather than using command tag

Regards,

Surafel 
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] RemoveSubscriptionRel uses simple_heap_delete
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Broken hint bits (freeze)