Re: [GENERAL] Add NAMEDATALEN to PG_CONFIG?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Add NAMEDATALEN to PG_CONFIG?
Дата
Msg-id 26599.1494891443@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] Add NAMEDATALEN to PG_CONFIG?  (Andy Johnson <andy@asjohnson.com>)
Список pgsql-general
Andy Johnson <andy@asjohnson.com> writes:
> Is there a way to find NAMEDATALEN in a
> database, other than looking at the
> source?

select typlen from pg_type where typname = 'name';

> If not could it be added to the
> PG_CONFIG eventually?

Seems like it would only make sense to do that if we supported
configuring NAMEDATALEN, which we don't really: you have to
manually edit pg_config_manual.h, and how well the result works
is on your own head.

            regards, tom lane


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