-
Notifications
You must be signed in to change notification settings - Fork 38
postgres 15 support #53
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
Comments
solve diff --git a/collector.c b/collector.c
index bbf2741..00b6bb5 100644
--- a/collector.c
+++ b/collector.c
@@ -351,7 +351,9 @@ collector_main(Datum main_arg)
pqsignal(SIGUSR1, procsignal_sigusr1_handler);
BackgroundWorkerUnblockSignals();
-#if PG_VERSION_NUM >= 110000
+#if PG_VERSION_NUM >= 150000
+ InitPostgres(NULL, InvalidOid, NULL, InvalidOid, false, false, NULL);
+#elif PG_VERSION_NUM >= 110000
InitPostgres(NULL, InvalidOid, NULL, InvalidOid, NULL, false);
#else
InitPostgres(NULL, InvalidOid, NULL, InvalidOid, NULL); |
Hi @RekGRpth ! Thanks for notice. You might arrange fix as PR. |
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: