pgsql: Revert "Improve error message on snapshot import in snapmgr.c" - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Revert "Improve error message on snapshot import in snapmgr.c"
Date
Msg-id E1qggLy-003jt5-F4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Revert "Improve error message on snapshot import in snapmgr.c"

This reverts commit a0d87bcd9b57, following a remark from Andres Frend
that the new error can be triggered with an incorrect SET TRANSACTION
SNAPSHOT command without being really helpful for the user as it uses
the internal file name.

Discussion: https://postgr.es/m/20230914020724.hlks7vunitvtbbz4@awork3.anarazel.de
Backpatch-through: 11

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1988f8766eeb297d7867e92bcfdea2e4ff894cc7

Modified Files
--------------
src/backend/utils/time/snapmgr.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Flush logical slots to disk during a shutdown checkpoint if requ
Next
From: Michael Paquier
Date:
Subject: pgsql: Revert "Improve error message on snapshot import in snapmgr.c"