On Mon, 2009-11-30 at 11:53 -0500, Jaime Casanova wrote: > 2009/11/30 Jaime Casanova <jcasa...@systemguards.com.ec>: > > Hi, > > > > why we can't do $subject? it could have any benefit on the planner? > > > > seems like while we can set the cost of the state transition function, > that cost is not propagated...
The cost of comparison functions is not considered in cost_sort() either. The answer is nobody got round to enhancing this yet and well considered proposals and subsequent patches would be welcome. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers