mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Flip argument order in XLogSegNoOffsetToRecPtr
Commit fc49e24fa6
added an input argument after the existing output
argument. Flip those.
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20180708182345.imdgovmkffgtihhk@alvherre.pgsql
This commit is contained in:
@ -2782,7 +2782,7 @@ ReorderBufferSerializedPath(char *path, ReplicationSlot *slot, TransactionId xid
|
||||
{
|
||||
XLogRecPtr recptr;
|
||||
|
||||
XLogSegNoOffsetToRecPtr(segno, 0, recptr, wal_segment_size);
|
||||
XLogSegNoOffsetToRecPtr(segno, 0, wal_segment_size, recptr);
|
||||
|
||||
snprintf(path, MAXPGPATH, "pg_replslot/%s/xid-%u-lsn-%X-%X.snap",
|
||||
NameStr(MyReplicationSlot->data.name),
|
||||
|
Reference in New Issue
Block a user