Re: vacuum from ecpg - Mailing list pgsql-general

From Bruce Momjian
Subject Re: vacuum from ecpg
Date
Msg-id 200311160431.hAG4V8308968@candle.pha.pa.us
Whole thread Raw
In response to Re: vacuum from ecpg  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: vacuum from ecpg  (Michael Meskes <meskes@postgresql.org>)
List pgsql-general
Joshua D. Drake wrote:
> Hello,
>
> I might be wrong on this but I think that ecpg using transactions by
> default for each query.
> Perhaps turning on autocommit?

Yep, use:

    EXEC SQL SET AUTOCOMMIT = ON;

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: ATA disks and RAID controllers for database servers
Next
From: Mark Kirkwood
Date:
Subject: Re: how to find version?