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

Commit333eb32

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 parent030cdaf commit333eb32

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
@@ -531,7 +531,7 @@ check_for_prepared_transactions(ClusterInfo *cluster)
531531

532532
res=executeQueryOrDie(conn,
533533
"SELECT * "
534-
"FROM pg_catalog.pg_prepared_xact()");
534+
"FROM pg_catalog.pg_prepared_xacts");
535535

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp