pgsql: Cosmetic fixes for radix sort - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Cosmetic fixes for radix sort
Date
Msg-id E1wI10p-003JIE-0T@gemulon.postgresql.org
Whole thread
List pgsql-committers
Cosmetic fixes for radix sort

Do minor comment fixes and remove implicit cast to Datum.

While here, let's prefer crashing instead of entering an infinite
loop in case of future programming mistakes when computing next_level,
suggested by ChangAo Chen.

Discussion: https://postgr.es/m/tencent_49E3F11E74D8A584A2144ED532A490CBC40A@qq.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/sort/tuplesort.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: Re: pgsql: Separate out bytea sort support from varlena.c
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Fix nbtree skip array parallel alloc accounting.