Fix broken comparetup_datum code.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 17b985b1a068e120feb05bb61be6328f4fef8090
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-04-06T20:58:50Z
Releases: 9.2.0
Fix broken comparetup_datum code.

Commit 337b6f5ecf05b21b5e997986884d097d60e4e3d0 contained the entirely
fanciful assumption that it had made comparetup_datum unreachable.
Reported and patched by Takashi Yamamoto.

Fix up some not terribly accurate/useful comments from that commit, too.

Files

PathChange+/−
src/backend/utils/sort/tuplesort.c modified +12 −8