pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove smgrdounlink() in smgr.c from the code tree
Date: Sun, 10 May 2020 01:59:56 +0000
Message-ID: <E1jXbG0-0004TI-K2@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jXbG0-0004TI-K2@gemulon.postgresql.org>
Permalink:  ../E1jXbG0-0004TI-K2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jXbG0-0004TI-K2@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Remove smgrdounlink() in smgr.c from the code tree
  In-Reply-To: <E1jXbG0-0004TI-K2@gemulon.postgresql.org>
  References: <E1jXbG0-0004TI-K2@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox