pgsql: Remove smgrdounlink() in smgr.c from the code tree

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove smgrdounlink() in smgr.c from the code tree
Date: 2020-05-10 01:59:56
Message-ID: E1jXbG0-0004TI-K2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove smgrdounlink() in smgr.c from the code tree

The last caller of this routine was removed in b416691, and as a wise
man said one day, dead code tends to silently break.

Per discussion between Fujii Masao, Peter Geoghegan, Vignesh C and me.

Reported-by: Peter Geoghegan
Discussion: https://postgr.es/m/CAH2-Wz=sg5H8-vG4d5UmAofdcRMpeTDt2K-NUWp4GSfhenRGAQ@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/storage/smgr/smgr.c | 56 -----------------------------------------
src/include/storage/smgr.h | 1 -
2 files changed, 57 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-05-10 19:06:26 pgsql: Release notes for 12.3, 11.8, 10.13, 9.6.18, 9.5.22.
Previous Message Tom Lane 2020-05-09 23:09:55 pgsql: Doc: fix assorted misstatements of fact in catalog & system view