Revert logical snapshot filename format change in SnapBuildSnapshotExists().

Commit 2633dae2e48 standardized LSN formatting but mistakenly changed
the logical snapshot filename format in SnapBuildSnapshotExists() from
"%X-%X.snap" to "%08X-%08X.snap". Other code still used the original
"%X-%X.snap" format, causing the replication slot synchronization worker
to fail to find existing snapshot files and produce excessive log messages.

This commit restores the original "%X-%X.snap" format
in SnapBuildSnapshotExists() to resolve the issue.

Author: Shveta Malik <shveta.ma...@gmail.com>
Discussion: 
https://postgr.es/m/cahgqgwhuhpb-ucak_tq3uss4fdziu1jp_aa_rd3m5ycky7m...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e9a31c0cc604b015363d0aa5b018e8cea9d1d9a7

Modified Files
--------------
src/backend/replication/logical/snapbuild.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reply via email to