From 7c12d100ceac5616806167d2523aaf2355a26a32 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 20 Jun 2021 22:06:14 -0700 Subject: [PATCH] Fixed build for Postgres < 13 --- src/vector.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector.c b/src/vector.c index 2710d21..9174942 100644 --- a/src/vector.c +++ b/src/vector.c @@ -16,6 +16,10 @@ #include "utils/float.h" #endif +#if PG_VERSION_NUM < 130000 +#define TYPALIGN_INT 'i' +#endif + PG_MODULE_MAGIC; /*