Re: [PATCHES] Allow the identifier length to be increased via a configure option

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Allow the identifier length to be increased via a configure option
Дата
Msg-id 22139.1167251388@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [PATCHES] Allow the identifier length to be increased via a  (Dhanaraj M <Dhanaraj.M@Sun.COM>)
Re: [PATCHES] Allow the identifier length to be increased via a configure option  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Dhanaraj M wrote:
>> I am sending the patch for the following TODO item:
>> Allow the identifier length to be increased via a configure option

> You should use pg_config.h, not mangle postgres_ext.h like that.  Or
> maybe generate postgres_ext.h from an hypotetical postgres_ext.h.in (but
> I wouldn't do that, really).

I'm wondering how this got into the TODO list.  It seems rather
pointless, and likely to create client compatibility problems (if not,
why is NAMEDATALEN exported at all?)

A bigger problem with the proposed patch is that it makes it look like
you can set the identifier length to any random number; the restrictions
mentioned in postgres_ext.h aren't enforced or even displayed to the
user of configure.

            regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: psql display of Unicode combining characters in 8.2
Следующее
От: mark@mark.mielke.cc
Дата:
Сообщение: Re: Bitmap index thoughts