Skip site navigation (1) Skip section navigation (2)

Re: Fixes for autocommit = off

From: Joe Conway <mail(at)joeconway(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fixes for autocommit = off
Date: 2002-10-16 06:10:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Bruce Momjian wrote:
> Here are some patches I applied that attempt to fix some of our
> utilities for the 'autocommit = off' world.  I still need to do more
> work.

Speaking of autocommit = off, I was contemplating sending in a patch for 
dblink with this in it:

                    "BEGIN;SET autocommit='on';COMMIT; %s",

(where arg 1 is the user provided sql statement) to cover the non-persistent 
connection case for dblink_exec. Is this the recommended client fix?


In response to


pgsql-patches by date

Next:From: Denis PerchineDate: 2002-10-16 13:03:04
Subject: JDBC patch reduces memory consumption
Previous:From: Bruce MomjianDate: 2002-10-16 05:52:56
Subject: Fixes for autocommit = off

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group