Re: WIP: getting rid of the pg_database flat file

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: WIP: getting rid of the pg_database flat file
Date: 2009-08-12 18:02:17
Message-ID: 20090812180217.GK5721@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:

> > (BTW I assume there is going to be an index on OID
> > available on pg_database after the shared relcache initialization?)
>
> Yeah. That's not in the patch I sent last night, but the OID index has
> to become nailed too in order to allow removing FindMyDatabaseByOid.
> However, I'm not sure that the AV launcher could touch it --- were
> you thinking that would be important?

No, that's for the workers. The launcher needs all the entries anyway.
(I'm assuming it will be able to check visibility of tuples, correct?
Hmm, it will need to run transactions in order to do that ...)

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-08-12 18:13:56 Re: Alpha 1 release notes
Previous Message Magnus Hagander 2009-08-12 17:24:24 Re: BUG #4961: pg_standby.exe crashes with no args