"Anton Fedorov" <[EMAIL PROTECTED]> writes: > Looks like COPY bypass rules 'ON INSERT INSTEAD'.
That's the documented behavior. We're unlikely to change it because it'd slow COPY down substantially, which'd negate its main use of being a bulk data loading mechanism. 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