Hi, On Tuesday 11 April 2006 11:40, MG wrote: | I can`t use COPY or put it in a transaction, because the application which | writes in PostgreSQL decides if it`s an INSERT or a UPDATE which depends on | different conditions and also manipulate the records. I don't see a reason that stops you from using a transaction here... Ciao, Thomas -- Thomas Pundt <thomas.pundt@xxxxxxxxxxxx> ---- http://rp-online.de/ ----