Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08e39b5

Browse files
authored
Merge pull request#70 from RekGRpth/patch-1
Postgres 17 support
2 parentsc6ae0dd +a44de67 commit08e39b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎compat.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ InitPostgresCompat(const char *in_dbname, Oid dboid,
5555
booloverride_allow_connections,
5656
char*out_dbname)
5757
{
58-
#ifPG_VERSION_NUM >=150000
58+
#ifPG_VERSION_NUM >=170000
59+
InitPostgres(in_dbname,dboid,username,useroid, (load_session_libraries ?INIT_PG_LOAD_SESSION_LIBS :0) |
60+
(override_allow_connections ?INIT_PG_OVERRIDE_ALLOW_CONNS :0),out_dbname);
61+
#elifPG_VERSION_NUM >=150000
5962
InitPostgres(in_dbname,dboid,username,useroid,load_session_libraries,
6063
override_allow_connections,out_dbname);
6164
#elifPG_VERSION_NUM >=110000

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp