Set per-function GUC settings during validating the function.

Itagaki Takahiro <itagaki.takahiro@gmail.com>

Commit: 5d6d037822ccfae697f0a530e37a70ae1cd7e420
Author: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: 2010-05-11T04:52:28Z
Releases: 9.0.0
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