sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-18 23:08:50 +00:00
parent a0fe1892c0
commit a526e24d56
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
276 changed files with 5668 additions and 3169 deletions

View file

@ -0,0 +1,19 @@
fix build with psql 16
https://github.com/pgpointcloud/pointcloud/pull/339
Index: pgsql/pc_pgsql.c
--- pgsql/pc_pgsql.c.orig
+++ pgsql/pc_pgsql.c
@@ -44,7 +44,11 @@ static PC_CONSTANTS *pc_constants_cache = NULL;
static Oid pointcloud_get_full_version_schema()
{
const char *proname = "pointcloud_full_version";
+#if PGSQL_VERSION < 160
List *names = stringToQualifiedNameList(proname);
+#else
+ List *names = stringToQualifiedNameList(proname, NULL);
+#endif
#if PGSQL_VERSION < 140
FuncCandidateList clist =
FuncnameGetCandidates(names, -1, NIL, false, false, false);