Re: C function question

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, General Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: C function question
Date: 2009-02-03 22:43:17
Message-ID: b42b73150902031443q3d284003gad96fe2eba2b7b45@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Feb 3, 2009 at 4:28 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2009-02-03 22:54:30 Re: Warm Standby question
Previous Message Christopher Browne 2009-02-03 22:36:02 Re: Pet Peeves?