Re: postgres 8.2.9 can't drop database in single user mode

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Maria L(dot) Wilson" <Maria(dot)L(dot)Wilson-1(at)nasa(dot)gov>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Wilson, Maria Louise (LARC-E301)[SCIENCE SYSTEMS APPLICATIONS]" <m(dot)l(dot)wilson(at)nasa(dot)gov>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgres 8.2.9 can't drop database in single user mode
Date: 2009-04-22 14:59:57
Message-ID: 20090422145957.GZ10358@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Maria L. Wilson wrote:
> yes - how do i get rid of these??
>
> backend> select * from pg_prepared_xacts;
> 2009-04-22 07:43:27.421 EDT [11767] [] WARNING: database "ange" must
> be vacuumed within 976080 transactions
> 2009-04-22 07:43:27.421 EDT [11767] [] HINT: To avoid a database
> shutdown, execute a full-database VACUUM in "ange".
> 1: transaction (typeid = 28, len = 4, typmod = -1, byval = t)
> 2: gid (typeid = 25, len = -1, typmod = -1, byval = f)
> 3: prepared (typeid = 1184, len = 8, typmod = -1, byval = f)
> 4: owner (typeid = 19, len = 64, typmod = -1, byval = f)
> 5: database (typeid = 19, len = 64, typmod = -1, byval = f)
> ----
> 1: transaction = "339484494" (typeid = 28, len = 4, typmod = -1,
> byval = t)
> 2: gid = "257_cGMwNzQvNjAyNA==_MQ==" (typeid = 25, len = -1,

ROLLBACK PREPARED '257_cGMwNzQvNjAyNA==_MQ==';

and so on.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shrirang Chitnis 2009-04-22 17:07:06
Previous Message Tom Lane 2009-04-22 14:37:03 Re: postgres 8.2.9 can't drop database in single user mode