"Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
> Seems plausible. Also I'm wondering what CPU this is: 36 seconds for an
> in-memory sort of 900k rows seems slow to me.
I'm wondering if it's textual data in some locale whose strcoll() behavior
is exceptionally slow.
regards, tom lane