pgsql: Set per-function GUC settings during validating the function.

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Set per-function GUC settings during validating the function.
Date: 2010-05-11 04:57:51
Message-ID: 20100511045751.6A8FF7541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Set per-function GUC settings during validating the function.
Now validators work properly even when the settings contain
parameters that affect behavior of the function, like search_path.

Reported by Erwin Brandstetter.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/catalog:
pg_proc.c (r1.148.2.1 -> r1.148.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_proc.c?r1=1.148.2.1&r2=1.148.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message User Hlinnaka 2010-05-11 10:48:34 orafce - orafce: Rewrite defragmentation() function in a more readable
Previous Message Takahiro Itagaki 2010-05-11 04:56:37 pgsql: Set per-function GUC settings during validating the function.