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

Commit731ebb6

Browse files
committed
Fix not-backwards-compatible pg_upgrade test for prepared transactions.
There's no reason for this test to use the undocumented pg_prepared_xact()function, when it can use the stable API pg_prepared_xacts instead.Fixes breakage against 8.3, as reported by Justin Arnold.
1 parent5bba65d commit731ebb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_upgrade/check.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ check_for_prepared_transactions(ClusterInfo *cluster)
532532

533533
res=executeQueryOrDie(conn,
534534
"SELECT * "
535-
"FROM pg_catalog.pg_prepared_xact()");
535+
"FROM pg_catalog.pg_prepared_xacts");
536536

537537
if (PQntuples(res)!=0)
538538
pg_log(PG_FATAL,"The %s cluster contains prepared transactions\n",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp