Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> A followup question: currently the code uses the "datum" interface for
> tuplesort. Obviously with multiple columns the slot interface is used
> instead; but is there any performance advantage for staying with the
> datum interface for the single-column case?
No idea ... measure it and see.
regards, tom lane