Re: C function question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C function question
Дата
Msg-id 15324.1233696491@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: C function question  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: C function question  (Merlin Moncure <mmoncure@gmail.com>)
Re: C function question  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Re: C function question  (Gregory Stark <stark@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Pet Peeves?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Pet Peeves?