Re: [HACKERS] New regress test (was Re: Timespan_div misbehaving?)

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] New regress test (was Re: Timespan_div misbehaving?)
Date: 1999-03-26 16:25:29
Message-ID: 199903261625.LAA09070@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I found a dozen or so bogus tuples in several system tables (mostly
> pg_amop and pg_aggregate IIRC). They had OID entries that referred
> to OIDs that actually exist ... but are in the wrong table. For
> example some of the amopclaid fields had values that were OIDs of
> procs or types instead of opclass rows. I believe these are leftovers
> from some ancient time when those OIDs were being used for something
> else. (Most of the current assignments of those OIDs have to do with
> int8, so I know they are relatively new. Evidently no one ran an
> oidjoins check while the OIDs were unused...)
>
> All of the tuples in question were either unused or else referenced
> only by other bogus tuples, so I just deleted 'em. (I'm new to
> adding/removing entries in system tables; is there anything else that
> needs to be done besides editing include/catalog/pg_*.h?)

Great. Good job. No, I just edit the *.h files, and run initdb.

--
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 Bruce Momjian 1999-03-26 16:33:55 Re: [HACKERS] pg_parg system table is suffering from software rot
Previous Message Jan Wieck 1999-03-26 16:17:16 Re: [HACKERS] PostgreSQL LOGO (was: Developers Globe (FINAL))