Fix syntax error while opening properties tab of functions and procedures inside packages.

This commit is contained in:
Akshay Joshi 2019-06-01 14:02:33 +05:30
parent 41a20e0252
commit 6a7339bbe4
3 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ SELECT pg_proc.oid,
WHEN proaccess = '-' THEN 'Private'
ELSE 'Unknown' END AS visibility
FROM pg_proc, pg_namespace, pg_language lng
WHERE pr.prokind IN ('f', 'w')
WHERE prokind IN ('f', 'w')
AND pronamespace = {{pkgid}}::oid
AND pg_proc.pronamespace = pg_namespace.oid
AND lng.oid=prolang

View File

@ -17,7 +17,7 @@ SELECT pg_proc.oid,
WHEN proaccess = '-' THEN 'Private'
ELSE 'Unknown' END AS visibility
FROM pg_proc, pg_namespace, pg_language lng
WHERE pr.prokind = 'p'
WHERE prokind = 'p'
AND pronamespace = {{pkgid}}::oid
AND pg_proc.pronamespace = pg_namespace.oid
AND lng.oid=prolang