Re: vacuum from ecpg

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Lynn(dot)Tilby(at)asu(dot)edu, pgsql-general(at)postgresql(dot)org, ltilby(at)asu(dot)edu
Subject: Re: vacuum from ecpg
Date: 2003-11-16 04:31:08
Message-ID: 200311160431.hAG4V8308968@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Kirkwood 2003-11-16 04:31:44 Re: how to find version?
Previous Message Mark Kirkwood 2003-11-16 02:23:14 Re: ATA disks and RAID controllers for database servers