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

Commit91f26d5

Browse files
committed
Change extension of spilled ReorderBufferChange data to ".tmp".
The previous extension, ".snap", was chosen for historical reasons andbecame confusing.Discussion:https://postgr.es/m/CAMp0ubd_P8vBGx8=MfDXQJZxHA5D_Zarw5cCkDxJ_63+pWRJ9w@mail.gmail.com
1 parente75733d commit91f26d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/replication/logical/reorderbuffer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2765,7 +2765,7 @@ ReorderBufferCleanupSerializedTXNs(const char *slotname)
27652765
if (unlink(path)!=0)
27662766
ereport(ERROR,
27672767
(errcode_for_file_access(),
2768-
errmsg("could not remove file \"%s\" during removal of pg_replslot/%s/*.xid: %m",
2768+
errmsg("could not remove file \"%s\" during removal of pg_replslot/%s/xid*: %m",
27692769
path,slotname)));
27702770
}
27712771
}
@@ -2785,7 +2785,7 @@ ReorderBufferSerializedPath(char *path, ReplicationSlot *slot, TransactionId xid
27852785

27862786
XLogSegNoOffsetToRecPtr(segno,0,wal_segment_size,recptr);
27872787

2788-
snprintf(path,MAXPGPATH,"pg_replslot/%s/xid-%u-lsn-%X-%X.snap",
2788+
snprintf(path,MAXPGPATH,"pg_replslot/%s/xid-%u-lsn-%X-%X.tmp",
27892789
NameStr(MyReplicationSlot->data.name),
27902790
xid,
27912791
(uint32) (recptr >>32), (uint32)recptr);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp