Re: [HACKERS] New regression driver

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <wieck(at)debis(dot)com>, PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] New regression driver
Date: 1999-11-21 00:58:16
Message-ID: 199911210058.TAA20315@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-11-21 02:11:47 Re: [HACKERS] New regression driver
Previous Message Bruce Momjian 1999-11-21 00:55:03 Re: [HACKERS] Getting OID in psql of recent insert