Re: Fixed width rows faster?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixed width rows faster?
Дата
Msg-id 18296.1078606346@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixed width rows faster?  ("Eric Jain" <Eric.Jain@isb-sib.ch>)
Список pgsql-performance
"Eric Jain" <Eric.Jain@isb-sib.ch> writes:
> The main reason why I am still using VARCHAR rather than TEXT in many
> places is to ensure that the column can be indexed. Postgres, it seems,
> refuses to insert a string that is longer than some value into an
> indexed column, and I'll rather have such errors flagged while inserting
> a row rather than while rebuilding an index after having inserted lots
> of rows.

This is bogus reasoning.  The limit on index entry length will not
change when you rebuild the index.

            regards, tom lane

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

Предыдущее
От: John Siracusa
Дата:
Сообщение: Re: Feature request: smarter use of conditional indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Feature request: smarter use of conditional indexes