Reconsider new file extension in commit 91f26d5f.
authorJeff Davis <jdavis@postgresql.org>
Sun, 26 Aug 2018 05:45:59 +0000 (22:45 -0700)
committerJeff Davis <jdavis@postgresql.org>
Sun, 26 Aug 2018 05:52:46 +0000 (22:52 -0700)
Andres and Tom objected to the choice of the ".tmp"
extension. Changing to Andres's suggestion of ".spill".

Discussion: https://postgr.es/m/88092095-3348-49D8-8746-EB574B1D30EA%40anarazel.de

src/backend/replication/logical/reorderbuffer.c

index 0d72ac1c791f50a289a06ca432476fda365662a1..dbd935515a00556ddd086fab747805862ade5f0f 100644 (file)
@@ -2785,7 +2785,7 @@ ReorderBufferSerializedPath(char *path, ReplicationSlot *slot, TransactionId xid
 
    XLogSegNoOffsetToRecPtr(segno, 0, wal_segment_size, recptr);
 
-   snprintf(path, MAXPGPATH, "pg_replslot/%s/xid-%u-lsn-%X-%X.tmp",
+   snprintf(path, MAXPGPATH, "pg_replslot/%s/xid-%u-lsn-%X-%X.spill",
             NameStr(MyReplicationSlot->data.name),
             xid,
             (uint32) (recptr >> 32), (uint32) recptr);