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 по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] union all taking years - PG 9.6
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 onCentos 6.9