Unused macros in contrib code - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Unused macros in contrib code
Date
Msg-id F759FB72-0A39-4D77-9FB2-2FA672330F88@yesql.se
Whole thread Raw
Responses Re: Unused macros in contrib code  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
While doing some archaeology I came across a couple of macros in pgstattuple
and pageinspect contrib code which seems to have been unused for some time.
CHECK_PAGE_OFFSET_RANGE is unused in both modules and commit 6405842 which
introduced contrib/pageinspect moved the code making CHECK_RELATION_BLOCK_RANGE
in pgstattuple unused.

For cleanliness sake it seems reasonable to remove these, patch attached which
passes make check (regular and in contrib).

cheers ./daniel


Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] amroutine->amsupport from numeric to defined constants
Next
From: Teodor Sigaev
Date:
Subject: Re: GIN data corruption bug(s) in 9.6devel