diff options
author | Andres Freund | 2018-11-21 04:03:46 +0000 |
---|---|---|
committer | Andres Freund | 2018-11-21 04:03:46 +0000 |
commit | 937e4e509998de93d5e1c04d312f1b13ef153210 (patch) | |
tree | b46e577ba307eae651510ef65abb306e6f8ccdc3 /contrib/sepgsql/database.c | |
parent | 578b229718e8f15fa779e20f086c4b6bb3776106 (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/database.c')
-rw-r--r-- | contrib/sepgsql/database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sepgsql/database.c b/contrib/sepgsql/database.c index c641ec3565e..102c9c8012c 100644 --- a/contrib/sepgsql/database.c +++ b/contrib/sepgsql/database.c @@ -80,7 +80,7 @@ sepgsql_database_post_create(Oid databaseId, const char *dtemplate) rel = heap_open(DatabaseRelationId, AccessShareLock); ScanKeyInit(&skey, - ObjectIdAttributeNumber, + Anum_pg_database_oid, BTEqualStrategyNumber, F_OIDEQ, ObjectIdGetDatum(databaseId)); |