Set per-function GUC settings during validating the function.

Itagaki Takahiro <itagaki.takahiro@gmail.com>

Commit: 871a6086b1919512824f96c2278ed70de546dfc3
Author: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: 2010-05-11T04:56:37Z
Releases: 8.4.4
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