diff options
Diffstat (limited to 'src/backend/catalog/namespace.c')
-rw-r--r-- | src/backend/catalog/namespace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/catalog/namespace.c b/src/backend/catalog/namespace.c index 14e57adee2..73ddb67882 100644 --- a/src/backend/catalog/namespace.c +++ b/src/backend/catalog/namespace.c @@ -3515,6 +3515,10 @@ OverrideSearchPathMatchesCurrent(OverrideSearchPath *path) /* * PushOverrideSearchPath - temporarily override the search path * + * Do not use this function; almost any usage introduces a security + * vulnerability. It exists for the benefit of legacy code running in + * non-security-sensitive environments. + * * We allow nested overrides, hence the push/pop terminology. The GUC * search_path variable is ignored while an override is active. * |