Re: vacuumdb failed - Mailing list pgsql-general

From Tom Lane
Subject Re: vacuumdb failed
Date
Msg-id 20736.967665213@sss.pgh.pa.us
Whole thread Raw
In response to RE: vacuumdb failed  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-general
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> The following is an example which doesn't release the reference count.
> Neither CommitTransaction() nor AbortTransaction() is called after '\q'

> begin;
> declare myc cursor for select * from ..;
> fetch in myc;
> \q

Hmm, you are right.  Looks like normal exit from PostgresMain() should,
but does not, call AbortCurrentTransaction().  Any objections?

            regards, tom lane

pgsql-general by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: Install from source
Next
From: Marcin Mazurek
Date:
Subject: rules or trigers?