Re: [HACKERS] New regression driver - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] New regression driver
Date
Msg-id 199911210058.TAA20315@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] New regression driver  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] New regression driver  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> I think the fix is to rip out inval.c's attempt to look up system
> relation names, and just give it hardwired knowledge of their OIDs.
> Even though it sort-of works to do the lookups, it's bad practice for
> routines that are potentially called during catcache initialization
> to depend on the catcache to be already working.  And there are other
> places that already have hardwired knowledge of the system relation
> OIDs, so...

FYI, I am in the process of coding all cache miss lookups to use new
system indexes.  I have also added code to SearchSelfReferences()
because pg_operator has some fancy depency on its lookup using an index,
and has to have certain lookup happen with an sequential and not an
index scan.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] New regression driver
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Getting OID in psql of recent insert