Skip to content

support for PostgreSQL 18 : here is a small patch #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
achix opened this issue May 13, 2025 · 0 comments
Open

support for PostgreSQL 18 : here is a small patch #524

achix opened this issue May 13, 2025 · 0 comments

Comments

@achix
Copy link
Contributor

achix commented May 13, 2025

postgres@smadevnu:~/src/pljava % git diff
diff --git a/pljava-so/src/main/c/VarlenaWrapper.c b/pljava-so/src/main/c/VarlenaWrapper.c
index cb1d9e7a..d36c4da4 100644
--- a/pljava-so/src/main/c/VarlenaWrapper.c
+++ b/pljava-so/src/main/c/VarlenaWrapper.c
@@ -36,6 +36,10 @@
#define GetOldestSnapshot() NULL
#endif

+#if PG_VERSION_NUM >= 180000
+#define GetOldestSnapshot() NULL
+#endif
+
#define _VL_TYPE struct varlena *

#if PG_VERSION_NUM < 140000
postgres@smadevnu:~/src/pljava %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant