commit | 785e875aa678001a7754101e1ffd90ac1d363866 | [log] [tgz] |
---|---|---|
author | Alexander Saydakov <13126686+AlexanderSaydakov@users.noreply.github.com> | Tue Oct 03 10:34:32 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 03 10:34:32 2023 -0700 |
tree | dae7d72d295905ba95adfe750a02262a05dd0a9e | |
parent | 76ab8010f8240fbc8b042cbf2ed9bbf053ff5f9a [diff] | |
parent | f5c280f2ddf219fb955dbe70584cc485107cab31 [diff] |
Merge pull request #68 from erikmata/fix-missing-VARDATA-symbol Fixes missing VARDATA symbol in PG16
diff --git a/src/common.c b/src/common.c index f9a11f1..9e8ef34 100644 --- a/src/common.c +++ b/src/common.c
@@ -22,6 +22,12 @@ #include "base64.h" +// Since version 16 of PG, all functionality for variable-length +// data was moved from postgres.h into the new file varatt.h +#if PG_VERSION_NUM >= 160000 +#include "varatt.h" +#endif + PG_MODULE_MAGIC; PG_FUNCTION_INFO_V1(pg_sketch_in);