Re: C function question - Mailing list pgsql-general

From Merlin Moncure
Subject Re: C function question
Date
Msg-id b42b73150902031443q3d284003gad96fe2eba2b7b45@mail.gmail.com
Whole thread Raw
In response to Re: C function question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: C function question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Tue, Feb 3, 2009 at 4:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> Grzegorz Jaśkiewicz wrote:
>>> looks like it really has to be defined with "char" in double quotes. I
>>> thought just char is enough...
>
>> They're different types.
>
> You know, maybe we should stop holding our noses and do something about
> this old gotcha.  That type's not going away anytime soon, but could we
> rename it to char1 or something like that?  (With some sort of backward
> compatibility hack, like a domain named "char".)
>
> On the other hand, that might be more trouble than it's worth.  Even
> with a domain alias, there'd be a nontrivial chance of breaking apps
> that look at the char columns of the system catalogs.

domains are out, unless arrays of domains are addressed first.

merlin

pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Pet Peeves?
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: C function question