Does PostgreSQL respond to the challenge of analytical queries?

Elaboration of the PostgreSQL sort cost model