Cosmetic fixes for radix sort

John Naylor <john.naylor@postgresql.org>

Commit: ca9807dfec5b70751c3524de264e4a16afb2a94a
Author: John Naylor <john.naylor@postgresql.org>
Date: 2026-04-29T09:14:25Z
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

Files

PathChange+/−
src/backend/utils/sort/tuplesort.c modified +7 −4

Discussion