From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Thoughts on user-defined types for talk at Postgres conference?
Date: Thu, 7 Mar 2024 22:16:55 +0100
Message-ID: <20240307211655.mqx2pmmyflyb2jlr@hjp.at> (raw)
In-Reply-To: <ZeirvYIUOXpgocLo@tamriel.snowman.net>
References: <506dd5f4-65fe-4d34-8cfe-2ebc08b978e4@Spark>
<ZeirvYIUOXpgocLo@tamriel.snowman.net>
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!"
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: hjp-pgsql@hjp.at
Subject: Re: Thoughts on user-defined types for talk at Postgres conference?
In-Reply-To: <20240307211655.mqx2pmmyflyb2jlr@hjp.at>
References: <506dd5f4-65fe-4d34-8cfe-2ebc08b978e4@Spark> <ZeirvYIUOXpgocLo@tamriel.snowman.net> <20240307211655.mqx2pmmyflyb2jlr@hjp.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox