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

Commit0b6494b

Browse files
author
Andrei Krichinin
committed
get rid of pg_strtouint64 according to 3c6f8c011f85df7b35c32f4ccaac5c86c9064a4a
1 parent88afbdb commit0b6494b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/multimaster.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,11 @@ mtm_ping(PG_FUNCTION_ARGS)
15481548
"Failed to query mtm.cluster_status on '%s': %s",
15491549
peer_connstr,msg);
15501550
}
1551+
#ifPG_VERSION_NUM<150000
15511552
peer_gen_num=pg_strtouint64(PQgetvalue(res,0,0),NULL,10);
1553+
#else
1554+
peer_gen_num=strtou64(PQgetvalue(res,0,0),NULL,10);
1555+
#endif
15521556
PQclear(res);
15531557
PQfinish(conn);
15541558
if (curr_gen.num!=peer_gen_num)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp