[COMMITTERS] pgsql: Remove incorrect assertion in clog.c - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Remove incorrect assertion in clog.c
Date
Msg-id E1dfpLI-000417-9F@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove incorrect assertion in clog.c

We must advance the oldest XID that can be safely looked up in clog
*before* truncating CLOG, and the oldest XID that can't be reused
*after* truncating CLOG.  This assertion, and the accompanying
comment, are confused; remove them.

Reported by Neha Sharma.

Discussion: http://postgr.es/m/CANiYTQumC3T=UMBMd1Hor=5XWZYuCEQBioL3ug0YtNQCMMT5wQ@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/clog.c | 4 ----
1 file changed, 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix handling of container types infind_composite_type_dependenc
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: pgstatindex: Insert some casts to prevent overflow.