mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Remove should_free arguments to tuplesort routines.
Since commit e94568ecc1, 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
This commit is contained in:
@@ -94,10 +94,8 @@ extern void tuplesort_performsort(Tuplesortstate *state);
|
||||
|
||||
extern bool tuplesort_gettupleslot(Tuplesortstate *state, bool forward,
|
||||
TupleTableSlot *slot, Datum *abbrev);
|
||||
extern HeapTuple tuplesort_getheaptuple(Tuplesortstate *state, bool forward,
|
||||
bool *should_free);
|
||||
extern IndexTuple tuplesort_getindextuple(Tuplesortstate *state, bool forward,
|
||||
bool *should_free);
|
||||
extern HeapTuple tuplesort_getheaptuple(Tuplesortstate *state, bool forward);
|
||||
extern IndexTuple tuplesort_getindextuple(Tuplesortstate *state, bool forward);
|
||||
extern bool tuplesort_getdatum(Tuplesortstate *state, bool forward,
|
||||
Datum *val, bool *isNull, Datum *abbrev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user