Re: ERROR: index row size 2720 exceeds btree version 4 maximum 2704 for index in V14 but pg_column_size calculates 2701

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Vitale, Anthony, Sony Music" <anthony.vitale@xxxxxxxxxxxxx> writes:
> I am trying to figure out how to calculate a column size in my UTF8 encoded Postgresql V14 instance in order to avoid the error exceeds btree version 4 maximum 2704  and I am obviously not doing it correctly using pg_column_size as when I do I get 2701 which is lower than 2704.

I think you're not accounting for overhead.  The reported index row
size would include the index tuple header (8 bytes) as well as
alignment padding.

			regards, tom lane






[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux