"Anton Fedorov" <datacompboy(at)mail(dot)ru> 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