Re: ERROR: failed to add item to the index page

Andreas Joseph Krogh <andreas@visena.com>

From: Andreas Joseph Krogh <andreas@visena.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-05-02T19:41:46Z
Lists: pgsql-hackers
På torsdag 02. mai 2019 kl. 21:38:02, skrev Peter Geoghegan <pg@bowt.ie>:
 > Pushed, though final version does the test a little differently. It
 > adds the required heap TID space to itupsz, rather than subtracting it
 > from pgspc. This is actually representative of the underlying logic,
 > and avoids unsigned underflow. Thanks! 
 --
 Andreas Joseph Krogh

Commits

  1. Fix nbtsort.c's page space accounting.

  2. Fix potential assertion failure when reindexing a pg_class index.

  3. Make heap TID a tiebreaker nbtree index column.