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 dead code in DecodeInterval()
Date: Mon, 28 Aug 2023 03:54:08 +0000
Message-ID: <E1qaTKK-001Hka-Eg@gemulon.postgresql.org> (raw)

Remove dead code in DecodeInterval()

This commit removes some dead code related to the unit type RESERV,
whose last use has been removed from the unit lookup table used for
intervals ("deltatktbl" in datetime.c) in 666cbae16da4.  Before that,
RESERV was used as an equivalent of "invalid", but that's now
unreachable.

Author: Joseph Koshakow
Reviewed-by: Jacob Champion, Gurjeet Singh, Reid Thompson
Discussion: https://postgr.es/m/CAAvxfHd-yNO+XYnUxL=GaNZ1n+eE0V-oE0+-cC1jdjdU0KS3iw@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/datetime.c | 5 -----
1 file changed, 5 deletions(-)



Message-ID: <E1qaTKK-001Hka-Eg@gemulon.postgresql.org>
Permalink:  ../E1qaTKK-001Hka-Eg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qaTKK-001Hka-Eg@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove dead code in DecodeInterval()
  In-Reply-To: <E1qaTKK-001Hka-Eg@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