From 0c345af71969d9863bb76efa833391d00705669e Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Wed, 8 Apr 2020 12:53:09 +0300 Subject: [PATCH] v13 support --- smlar.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.46.1