Remove should_free arguments to tuplesort routines.
Robert Haas <rhaas@postgresql.org>
Remove should_free arguments to tuplesort routines. Since commit e94568ecc10f2638e542ae34f2990b821bbf90ac, the answer is always "false", and we do not need to complicate the API by arranging to return a constant value. Peter Geoghegan Discussion: http://postgr.es/m/CAM3SWZQWZZ_N=DmmL7tKy_OUjGH_5mN=N=A6h7kHyyDvEhg2DA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashsort.c | modified | +1 −5 |
| src/backend/access/nbtree/nbtsort.c | modified | +6 −18 |
| src/backend/commands/cluster.c | modified | +1 −5 |
| src/backend/utils/sort/tuplesort.c | modified | +21 −41 |
| src/include/utils/tuplesort.h | modified | +2 −4 |
Discussion
- tuplesort_gettuple_common() and *should_free argument 30 messages · 2016-10-21 → 2017-05-07