decibel wrote: > Here's an off-the-wall thought... since most of the CPU time is in the > sort, what about allowing a backend to fork off dedicated sort > processes? Aside from building multiple indexes at once, that > functionality could also be useful in general queries.
Sure, that would be cool. And also a lot of work :-). The comparison operators can be arbitrarily complex, potentially querying other tables etc, so you would indeed need pretty much all the infrastrucutre you need to solve the general case. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers