summaryrefslogtreecommitdiff
path: root/contrib/sepgsql/proc.c
diff options
context:
space:
mode:
authorAndres Freund2018-11-21 04:03:46 +0000
committerAndres Freund2018-11-21 04:03:46 +0000
commit937e4e509998de93d5e1c04d312f1b13ef153210 (patch)
treeb46e577ba307eae651510ef65abb306e6f8ccdc3 /contrib/sepgsql/proc.c
parent578b229718e8f15fa779e20f086c4b6bb3776106 (diff)
Fix sepgsql compile error caused by oid removal.
Per buildfarm animal rhinoceros. I (Andres) missed replacing a few uses of ObjectIdAttributeNumber in sepgsql. It's quite probable that the sepgsql test output will need more adapting than done in 578b22... Author: Thomas Munro Discussion: https://postgr.es/m/CAEepm=2Sk+66HJV8FLDfm_sKTn22j7cWTY_Y1Rok3RxeWL_Y0w@mail.gmail.com
Diffstat (limited to 'contrib/sepgsql/proc.c')
-rw-r--r--contrib/sepgsql/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sepgsql/proc.c b/contrib/sepgsql/proc.c
index c6a817d7c58..a4acfd92dae 100644
--- a/contrib/sepgsql/proc.c
+++ b/contrib/sepgsql/proc.c
@@ -59,7 +59,7 @@ sepgsql_proc_post_create(Oid functionId)
rel = heap_open(ProcedureRelationId, AccessShareLock);
ScanKeyInit(&skey,
- ObjectIdAttributeNumber,
+ Anum_pg_proc_oid,
BTEqualStrategyNumber, F_OIDEQ,
ObjectIdGetDatum(functionId));
@@ -253,7 +253,7 @@ sepgsql_proc_setattr(Oid functionId)
rel = heap_open(ProcedureRelationId, AccessShareLock);
ScanKeyInit(&skey,
- ObjectIdAttributeNumber,
+ Anum_pg_proc_oid,
BTEqualStrategyNumber, F_OIDEQ,
ObjectIdGetDatum(functionId));