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

From Tom Lane
Subject Re: [HACKERS] New regression driver
Date
Msg-id 23688.943150307@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] New regression driver  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses RE: [HACKERS] New regression driver  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> ... 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.

Say what?  That's got to be a symptom of a bug somewhere.  Maybe
pg_operator needs some CommandCounterIncrement calls so that the
tuples it inserts become visible earlier?  What are you seeing exactly?

For that matter, SearchSelfReferences looks like one giant kluge to me.
Who added this, and why, and what's the logic?  (Undocumented kluges
are very high on my hate list.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Getting OID in psql of recent insert
Next
From: Goran Thyni
Date:
Subject: Advogato