Re: vacuum from ecpg

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: vacuum from ecpg
Дата
Msg-id 200311160431.hAG4V8308968@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: vacuum from ecpg  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: vacuum from ecpg  (Michael Meskes <meskes@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: ATA disks and RAID controllers for database servers
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: how to find version?