Re: fn_collation in FmgrInfo considered harmful

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: fn_collation in FmgrInfo considered harmful
Date: 2011-04-12 19:00:40
Message-ID: 22958.1302634840@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On Tuesday, April 12, 2011 08:09:53 PM Tom Lane wrote:
>> 1. The existing names with a "C" appended (eg, OidFunctionCall2C) will
>> take a collation argument (in particular, this replaces the existing
>> DirectFunctionCall1WithCollation and DirectFunctionCall2WithCollation,
>> which seem a bit verbosely named for my tastes).

> The first thing I though when I saw OidFunctionCall2C was Function Call with C
> collation or such and that you wanted to rename all the existing calls to
> that...

Hm, well, you got a better idea? I definitely want it *short*, because
these are going to be in a lot of places.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2011-04-12 19:11:24 Re: fn_collation in FmgrInfo considered harmful
Previous Message Andres Freund 2011-04-12 18:38:00 Re: fn_collation in FmgrInfo considered harmful