Re: Two features left - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Two features left
Date
Msg-id 200211272302.gARN26O12893@candle.pha.pa.us
Whole thread Raw
In response to Re: Two features left  (Jean-Luc Lachance <jllachan@nsd.ca>)
List pgsql-general
Jean-Luc Lachance wrote:
> Jon,
>
> What I would like to be able to do is within a loop for example, commit
> each iteration.

You mean a PL/PgSQL for-loop?  I was going to use command-counter to
separate out parts of a transaction for possible rollback, and a
PL/PgSQL for loop does not increment that counter.

--
  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: Jean-Luc Lachance
Date:
Subject: Re: Two features left
Next
From: Tom Lane
Date:
Subject: Re: Shared library