From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, pgsql-hackers(at)postgresql(dot)org, Stephen Frost <sfrost(at)snowman(dot)net> |
Subject: | Re: Controlling changes in plpgsql variable resolution |
Date: | 2009-10-19 18:08:49 |
Message-ID: | 8644.1255975729@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Mon, Oct 19, 2009 at 1:50 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> (a) Nobody but me is afraid of the consequences of treating this as
>> a GUC. (I still think you're all wrong, but so be it.)
> I'm afraid of it, I'm just not sure I have a better idea. It wouldn't
> bother me a bit if we made the only available behavior "throw an
> error", but I'm afraid it will bother someone else.
> Is there a chance we could make this a GUC, but only allow it to be
> changed at the function level, with no way to override the server
> default? It seems to me that the chances of blowing up the world
> would be a lot lower that way, though possibly still not low enough.
I don't particularly care to invent a new GUC class just for this,
but if we think the issue is important enough, we could
(a) make the GUC superuser-only
(b) invent a #option or similar syntax to override the GUC per-function.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-10-19 18:14:02 | Re: Controlling changes in plpgsql variable resolution |
Previous Message | Kevin Grittner | 2009-10-19 18:07:01 | Re: Controlling changes in plpgsql variable resolution |