Re: TOAST usage setting

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: TOAST usage setting
Дата
Msg-id 87r6ozocca.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: TOAST usage setting  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
"Gregory Stark" <stark@enterprisedb.com> writes:

> Is your database initialized with C locale? If so then length(text) is
> optimized to not have to detoast:
>
>     if (pg_database_encoding_max_length() == 1)
>         PG_RETURN_INT32(toast_raw_datum_size(str) - VARHDRSZ);

Of course I got that wrong. The question is "is your database in a single-byte
encoding" which isn't the same as being in C locale.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: TOAST usage setting
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: TOAST usage setting