pgsql: Rename tuplesort.c's SortTuple.tupindex field.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename tuplesort.c's SortTuple.tupindex field.
Date: 2019-08-10 00:08:39
Message-ID: E1hwEw3-0001iV-F3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename tuplesort.c's SortTuple.tupindex field.

Rename the "tupindex" field from tuplesort.c's SortTuple struct to
"srctape", since it can only ever be used to store a source/input tape
number when merging external sort runs. This has been the case since
commit 8b304b8b72b, which removed replacement selection sort from
tuplesort.c.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d8cd68c8d472292ef8943a765bd1c69c0d4d61d8

Modified Files
--------------
src/backend/utils/sort/tuplesort.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-08-10 15:30:27 pgsql: Fix "ANALYZE t, t" inside a transaction block.
Previous Message Tom Lane 2019-08-09 17:20:43 pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra