Re: Using ENUM with huge NAMEDATALEN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using ENUM with huge NAMEDATALEN
Дата
Msg-id 4191.1217108664@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using ENUM with huge NAMEDATALEN  ("David Andersen" <david@andersen.gs>)
Ответы Re: Using ENUM with huge NAMEDATALEN
Список pgsql-performance
"David Andersen" <david@andersen.gs> writes:
> One of the side tables is text with length of up to 900 characters. My
> question is whether I could build PostgreSQL with NAMEDATALEN  (which
> controls the max size of Enums) equal to 900?

I wouldn't recommend it.  Consider changing pg_enum.enumlabel to type
TEXT instead.

            regards, tom lane

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

Предыдущее
От: "David Andersen"
Дата:
Сообщение: Using ENUM with huge NAMEDATALEN
Следующее
От: "David Andersen"
Дата:
Сообщение: Re: Using ENUM with huge NAMEDATALEN