On Dec 11, 2012, at 6:48, Zbigniew <zbigniew2011(at)gmail(dot)com> wrote:
> 2012/12/11, Abel Abraham Camarillo Ojeda <acamari(at)the00z(dot)org>:
>
>> Obviously, it's not fast...
>
> Well, the problem was exactly speed-related. If not this - I could
> simply dispose of the transaction...
> --
> regards,
> Zbigniew
>
>
It seems like if you switched to the COPY API and a staging table your initial performance would be maximized and from the delta gain you can run the second transformation query. Your desired feature probably wouldn't work with copy anyway and high-performance bulk loading should use that API.
David J.