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

Commit11cc0f4

Browse files
committed
Print new OldestXID value in pg_resetwal when it's being changed
Commit74cf7d4 added the --oldest-transaction-id option topg_resetwal, but forgot to update the code that prints all the newvalues that are being set. Fix that.Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>Discussion:https://www.postgresql.org/message-id/5461bc85-e684-4531-b4d2-d2e57ad18cba@iki.fiBackpatch-through: 14
1 parentb853974 commit11cc0f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/bin/pg_resetwal/pg_resetwal.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,10 @@ PrintNewControlValues(void)
857857
{
858858
printf(_("NextXID: %u\n"),
859859
XidFromFullTransactionId(ControlFile.checkPointCopy.nextXid));
860+
}
861+
862+
if (set_oldest_xid!=0)
863+
{
860864
printf(_("OldestXID: %u\n"),
861865
ControlFile.checkPointCopy.oldestXid);
862866
printf(_("OldestXID's DB: %u\n"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp