Re: [pgsql-patches] [GENERAL] Corrupt database? 8.1/FreeBSD6.0

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Amiel <becauseimjeff(at)yahoo(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [pgsql-patches] [GENERAL] Corrupt database? 8.1/FreeBSD6.0
Date: 2007-02-05 16:05:42
Message-ID: 20070205160542.GA7196@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Bruce Momjian wrote:
>
> What is the status of this patch?

This was applied:

2007-01-14 17:18 alvherre

* src/backend/postmaster/autovacuum.c:

Fix autovacuum to avoid leaving non-permanent Xids in non-connectable
databases.

Apply to the 8.1 branch only, as the new 8.2 (and HEAD) coding does not have
this problem.

> ---------------------------------------------------------------------------
>
> Alvaro Herrera wrote:
> > Tom Lane wrote:
> > > Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> >
> > > > Maybe we could forcibly activate the freeze mode on a template database?
> > >
> > > Might not be a bad idea. And even more to the point, forcibly disable
> > > analyze.
> >
> > Patch implementing this (albeit untested!) attached. I'll try to
> > reproduce the problem without the patch, and then test with the patch
> > applied.

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John D. Burger 2007-02-05 16:59:37 Re: Production systems beware: U.S. Daylight Savings Time comes at a new time this year
Previous Message Bruno Wolff III 2007-02-05 15:55:03 Re: ERROR: missing cache data for cache id 27

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-05 16:09:06 Re: VC2005 build and pthreads
Previous Message Douglas McNaught 2007-02-05 16:00:09 Re: VC2005 build and pthreads

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-05 16:25:36 Re: Dead code in _bt_split?
Previous Message Tom Lane 2007-02-05 16:02:28 Re: TM formating patch