Set per-function GUC settings during validating the function.

Itagaki Takahiro <itagaki.takahiro@gmail.com>

Commit: ba7b77133e086c424620f8675e78948c932f6df7
Author: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: 2010-05-11T04:57:51Z
Releases: 8.3.11
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.

Files

PathChange+/−
src/backend/catalog/pg_proc.c modified +21 −1