Re: vacuumdb failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuumdb failed
Date: 2000-08-30 19:53:33
Message-ID: 20736.967665213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcin Mazurek 2000-08-30 20:32:17 rules or trigers?
Previous Message Adam Lang 2000-08-30 19:34:04 Re: Install from source