Re: contrib function naming, and upgrade issues

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: contrib function naming, and upgrade issues
Дата
Msg-id 603c8f070903201942k4305f41bx9349e671ebb2603@mail.gmail.com
обсуждение исходный текст
Ответ на contrib function naming, and upgrade issues  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список 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 по дате отправления:

Предыдущее
От: Bryce Cutt
Дата:
Сообщение: Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: small but useful patches for text search