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

From Tom Lane
Subject Re: Save a few bytes in pg_attribute
Date
Msg-id 1110938.1679356272@sss.pgh.pa.us
Whole thread Raw
In response to Re: Save a few bytes in pg_attribute  (Andres Freund <andres@anarazel.de>)
Responses Re: Save a few bytes in pg_attribute  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2023-03-20 10:37:36 -0400, Tom Lane wrote:
>> I agree that attinhcount could be narrowed, but I have some concern
>> about attstattarget.  IIRC, the limit on attstattarget was once 1000
>> and then we raised it to 10000.  Is it inconceivable that we might
>> want to raise it to 100000 someday?

> Hard to believe that'd happen in a minor version - and I don't think there'd
> an issue with widening it again in a major version?

True.  However, I think Tomas' idea of making these columns nullable
is even better than narrowing them.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Save a few bytes in pg_attribute
Next
From: Peter Geoghegan
Date:
Subject: Re: Add pg_walinspect function with block info columns