diff --git a/ogr_fdw.c b/ogr_fdw.c index 8a081f6..bd415b0 100644 --- a/ogr_fdw.c +++ b/ogr_fdw.c @@ -304,7 +304,7 @@ get_extension_nsp_oid(Oid extOid) systable_endscan(scandesc); -#if PG_VERSION_NUM < 120 +#if PG_VERSION_NUM < 120000 heap_close(rel, AccessShareLock); #else table_close(rel, AccessShareLock);