Re: Unused macros in contrib code

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unused macros in contrib code
Date: 2016-05-02 07:17:32
Message-ID: 5726FF0C.7090209@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 28/04/16 16:06, Daniel Gustafsson wrote:
> 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).

Committed, thanks!

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2016-05-02 08:40:24 Subtle bug in autoconf flex version test
Previous Message Bruce Momjian 2016-05-02 04:54:03 Re: snapshot too old, configured by time