Re: Save a few bytes in pg_attribute

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-03-21T00:49:03Z
Lists: pgsql-hackers
Hi,

On 2023-03-20 11:00:12 +0100, Peter Eisentraut wrote:
> After the discussion in [0] ff., I was looking around in pg_attribute and
> noticed that we could possibly save 4 bytes.  We could change both
> attstattarget and attinhcount from int4 to int2, which together with some
> reordering would save 4 bytes from the fixed portion.

attndims seems like another good candidate to shrink.

Greetings,

Andres Freund



Commits

  1. Save a few bytes in pg_attribute