Josh Berkus <josh@agliodbs.com> writes:
> Here's a question: is the total size of the column a good indicator of the
> sort_mem required? Or does the rowsize affect it somehow?
It will include all the data that's supposed to be output by the sort...
both the key column(s) and the others.
regards, tom lane