Martijn van Oosterhout <kleptog@xxxxxxxxx> writes: > On Fri, Aug 01, 2008 at 06:30:36PM +0200, Linos wrote: >> i have migrated from Maxdb to Postgresql recently and i am having a >> speed problem in large transactions over slow links because of autorollback > If the goal is to reduce latency costs, the best way could be: > [ move it to the server side ] Or move the logic into a server-side function, if you prefer to stick with your existing procedural approach. regards, tom lane