Re: [PATCHES] Writing WAL for relcache invalidation:pg_internal.init - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Writing WAL for relcache invalidation:pg_internal.init
Date
Msg-id 26101.1162770147@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Writing WAL for relcache invalidation:pg_internal.init  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> On Wed, 2006-11-01 at 12:05 -0500, Tom Lane wrote:
>> I think we're probably better off to just forcibly remove the init file
>> during post-recovery cleanup.  The easiest place to do this might be
>> BuildFlatFiles, which has to scan pg_database anyway ...

> Patch enclosed.

Applied to HEAD and 8.1.  It doesn't work in 8.0 though, because
flatfiles.c doesn't exist.  AFAIR there isn't any startup-time scan
of pg_database at all before 8.1.  Not sure if it's worth coming up
with a whole new patch for that branch.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: NULL in arrays
Next
From: Neil Conway
Date:
Subject: Re: [PATCHES] ldap: fix resource leak