Emmanuel Cecchet <manu@asterdata.com> wrote:
> If you look at the code you will see that you can do optimizations in
> the COPY code that you cannot do in the trigger.
Since the optimizations is nice, I hope it will work not only in COPY
but also in INSERT. An idea is moving the partitioning cache into
Relation cache, and also moving the routing routines into heap_insert().
My concern is just in the modified position; I think you don't have to
change your logic itself.
Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center