From: Teodor Sigaev Date: Wed, 8 Apr 2020 09:53:09 +0000 (+0300) Subject: v13 support X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=0c345af71969d9863bb76efa833391d00705669e;p=smlar.git v13 support --- diff --git a/smlar.c b/smlar.c index ce7e2ad..672e453 100644 --- a/smlar.c +++ b/smlar.c @@ -30,6 +30,10 @@ PG_MODULE_MAGIC; #define SNAPSHOT SnapshotNow #endif +#if PG_VERSION_NUM >= 130000 +#define heap_open(r, l) table_open((r), (l)) +#define heap_close(r, l) table_close((r), (l)) +#endif static Oid getDefaultOpclass(Oid amoid, Oid typid)