Re: Save a few bytes in pg_attribute - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Save a few bytes in pg_attribute
Date
Msg-id 20230321004903.6zqat35zc37esotg@awork3.anarazel.de
Whole thread Raw
In response to Save a few bytes in pg_attribute  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List 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



pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Request for comment on setting binary format output per session
Next
From: Andy Fan
Date:
Subject: Re: Question about pull_up_sublinks_qual_recurse