Thread: pgsql: Remove EXTENSION_DONT_CHECK_SIZE from md.c.

pgsql: Remove EXTENSION_DONT_CHECK_SIZE from md.c.

From
Thomas Munro
Date:
Remove EXTENSION_DONT_CHECK_SIZE from md.c.

Commits 7bb3102c and 3eb77eba removed the only user of the
EXTENSION_DONT_CHECK_SIZE flag, which had previously been required to
checkpoint truncated relations.  Since 7bb3102c, segments have been
opened directly for synchronization without calling _mdfd_getseg(), so
it doesn't need a mode that tolerates non-final short segments.  Remove
the redundant flag and associated comments.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/nyj4k7yur5t27rtygvx2i2lrlp6rqfvvhoiiwx4fznynksf2et%404hj2sp42alpe

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/48c142f78d90fcdcbc0557a4bcdc4f47ec32b333

Modified Files
--------------
src/backend/storage/smgr/md.c | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)