Re: [HACKERS] Disallowing multiple queries per PQexec() - Mailing list pgsql-hackers

From Surafel Temesgen
Subject Re: [HACKERS] Disallowing multiple queries per PQexec()
Date
Msg-id CALAY4q_eHUx=3p1QUOvabibwBvxEWGm-bzORrHA-itB7MBtd5Q@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Disallowing multiple queries per PQexec()  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: [HACKERS] Disallowing multiple queries per PQexec()
Re: [HACKERS] Disallowing multiple queries per PQexec()
List 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 
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] RemoveSubscriptionRel uses simple_heap_delete
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Broken hint bits (freeze)