Re: contrib function naming, and upgrade issues - Mailing list pgsql-hackers

From Robert Haas
Subject Re: contrib function naming, and upgrade issues
Date
Msg-id 603c8f070903201942k4305f41bx9349e671ebb2603@mail.gmail.com
Whole thread Raw
In response to contrib function naming, and upgrade issues  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
On Fri, Mar 20, 2009 at 9:57 PM, Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
> Note that I'm talking here about the names of the C functions, not
> the SQL names.
>
> The existing hstore has some very dubious choices of function names
> (for non-static functions) in the C code; functions like each(),
> delete(), fetchval(), defined(), tconvert(), etc. which all look to me
> like prime candidates for name collisions and consequent hilarity.
>
> The patch I'm working on could include fixes for this; but there's an
> obvious impact on anyone upgrading from an earlier version... is it
> worth it?

Based on that description, +1 from me.  That kind of hilarity can be a
huge time sink when debugging, and it makes it hard to use grep to
find all references to a particular function (or #define, typedef,
etc.).

...Robert


pgsql-hackers by date:

Previous
From: Bryce Cutt
Date:
Subject: Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets
Next
From: Bruce Momjian
Date:
Subject: Re: small but useful patches for text search