Re: Thoughts on user-defined types for talk at Postgres conference?

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Thoughts on user-defined types for talk at Postgres conference?
Дата
Msg-id 20240307211655.mqx2pmmyflyb2jlr@hjp.at
обсуждение исходный текст
Ответ на Re: Thoughts on user-defined types for talk at Postgres conference?  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Thoughts on user-defined types for talk at Postgres conference?
Список pgsql-general
On 2024-03-06 12:45:33 -0500, Stephen Frost wrote:
> =*# select pg_column_size(t2.*) from t2;
>  pg_column_size
> ----------------
>              53
> (1 row)
>
> That's an additional 21 bytes, which is really quite a lot.  What's
> included in those 21 bytes are
[...]
> the type information (typmod if there is one and the OID of the
> composite type),

Is it necessary to store this in every row? Can a column contain
different composite types?

        hp


--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: sud
Дата:
Сообщение: Re: Is partition pruning impacted by data type
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Thoughts on user-defined types for talk at Postgres conference?