pgsql: Revert "Improve error message on snapshot import in snapmgr.c"

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "Improve error message on snapshot import in snapmgr.c"
Date: 2023-09-14 07:01:30
Message-ID: E1qggLy-003jt8-Fa@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_13_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-09-14 07:14:27 pgsql: Revert "Improve error message on snapshot import in snapmgr.c"
Previous Message Amit Kapila 2023-09-14 03:43:18 pgsql: Flush logical slots to disk during a shutdown checkpoint if requ