Re: C function question - Mailing list pgsql-general

From Tom Lane
Subject Re: C function question
Date
Msg-id 15324.1233696491@sss.pgh.pa.us
Whole thread Raw
In response to Re: C function question  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: C function question
Re: C function question
Re: C function question
List pgsql-general
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.

            regards, tom lane

pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Pet Peeves?
Next
From: Greg Smith
Date:
Subject: Re: Pet Peeves?