Skip to content

Commit 9c2cede

Browse files
authored
postgres 15 support
postgres 15 support
1 parent df1aa39 commit 9c2cede

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

collector.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,9 @@ collector_main(Datum main_arg)
351351
pqsignal(SIGUSR1, procsignal_sigusr1_handler);
352352
BackgroundWorkerUnblockSignals();
353353

354-
#if PG_VERSION_NUM >= 110000
354+
#if PG_VERSION_NUM >= 150000
355+
InitPostgres(NULL, InvalidOid, NULL, InvalidOid, false, false, NULL);
356+
#elif PG_VERSION_NUM >= 110000
355357
InitPostgres(NULL, InvalidOid, NULL, InvalidOid, NULL, false);
356358
#else
357359
InitPostgres(NULL, InvalidOid, NULL, InvalidOid, NULL);

0 commit comments

Comments
 (0)