Tomasz Ostrowski <[EMAIL PROTECTED]> writes: > So why estimate regex expressions if there is no estimation possible? > Let's set this estimate to be pessimistic (match everything or > everything not null) and it will choose better plans.
Better plans for this specific example, worse plans for other cases. Life is not that simple. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match