]> granicus.if.org Git - postgresql/commit
Properly adjust pointers when tuples are moved during CLUSTER.
authorRobert Haas <rhaas@postgresql.org>
Thu, 7 Jul 2016 17:47:16 +0000 (13:47 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 7 Jul 2016 17:47:16 +0000 (13:47 -0400)
commit1b0fc85077aadb3f4a965aff35c136398d859624
treed78c0d0ae15f402e5dcd1154edb3e24bb7f35fcd
parentb22934dc032d7b2a297c2d35dc10fd403c8de631
Properly adjust pointers when tuples are moved during CLUSTER.

Otherwise, when we abandon incremental memory accounting and use
batch allocation for the final merge pass, we might crash.  This
has been broken since 0011c0091e886b874e485a46ff2c94222ffbf550.

Peter Geoghegan, tested by Noah Misch
src/backend/utils/sort/tuplesort.c