Re: Get size of variable-length attribute as stored on disk - Mailing list pgsql-general

From Christophe Pettus
Subject Re: Get size of variable-length attribute as stored on disk
Date
Msg-id 0803897E-EFBC-4AFC-90E2-98AE974B2FE1@thebuild.com
Whole thread Raw
In response to Get size of variable-length attribute as stored on disk  (Christophe Pettus <xof@thebuild.com>)
List pgsql-general

> On Dec 15, 2022, at 10:23, Christophe Pettus <xof@thebuild.com> wrote:
> Is there a way from SQL to get the size of a particular attribute (field in a row) with a variable-length typed as
storedon disk (including compression)?  The use case is to determine the size distribution for setting
TOAST_TUPLE_TARGETand making other decisions about what to store in that field. 

Like, for instance, pg_column_size.  :-)  Never mind!


pgsql-general by date:

Previous
From: Christophe Pettus
Date:
Subject: Get size of variable-length attribute as stored on disk
Next
From: Bryn Llewellyn
Date:
Subject: Re: Test if a database has any privilege granted to public