Re: Is tuplesort meant to support bounded datum sorts?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>,
Ronan Dunklau <ronan.dunklau@aiven.io>
Date: 2021-07-12T16:10:24Z
Lists: pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes: > It looks like this has likely never come up before because the only > time we use tuplesort_set_bound() is in nodeSort.c and > nodeIncrementalSort.c, none of those currently use datum sorts. > However, I'm thinking this is still a bug that should be fixed > separately from Ronan's main patch. Yeah, I think you're right. The comment seems a little confused though. Maybe there's no need for it at all --- there's equivalent code in e.g. writetup_datum that has no comment. regards, tom lane
Commits
-
Fix theoretical bug in tuplesort
- 87b7a652b3a2 9.6.23 landed
- b55e478a4c2c 10.18 landed
- 187e9c3996aa 11.13 landed
- 6f1c7a2d0fe0 12.8 landed
- 204f646a22f2 13.4 landed
- a3b8d91ccd79 14.0 landed
- 41469253e970 15.0 landed