Re: [GENERAL] pg_column_size strange result...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] pg_column_size strange result...
Дата
Msg-id 19498.1502892141@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] pg_column_size strange result...  (marin@kset.org)
Список pgsql-general
marin@kset.org writes:
> Is there a reason pg_column_size returns different sizes for a constant
> and the same value from a table column?

The constant probably has the default choice of a four-byte length word,
while the on-disk form has been compressed by switching to a one-byte
length word.

            regards, tom lane


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

Предыдущее
От: gmb
Дата:
Сообщение: [GENERAL] optimize pg_tables query ( text vs varchar ) ...why ?
Следующее
От: vinny
Дата:
Сообщение: Re: [GENERAL] optimize pg_tables query ( text vs varchar ) ...why ?