From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Unused macros in contrib code |
Date: | 2016-04-28 13:06:31 |
Message-ID: | F759FB72-0A39-4D77-9FB2-2FA672330F88@yesql.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
contrib_macros.diff | application/octet-stream | 1.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Sigaev | 2016-04-28 13:26:38 | Re: GIN data corruption bug(s) in 9.6devel |
Previous Message | Michael Paquier | 2016-04-28 12:10:58 | Re: [PATCH] amroutine->amsupport from numeric to defined constants |