From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] cache question |
Date: | 1999-11-22 06:50:50 |
Message-ID: | 199911220650.BAA20356@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Can someone explain why there are two network_ops in the pg_opclass
> table? I am trying to make pg_opclass unique. We have a cache on
> pg_opclass.opcname, so we clearly have a problem here.
>
> Also, is it safe to set opcdeftype to a non-zero value so I can make
> that index unique too?
>
> This stuff confusing.
Looks like I fixed it. I made on inet_ops and the other cidr_ops.
Those names should be unique in there anyway. They are just used when
specifying the ops on an index create. The zero entries I just set to
dummy values for int24 and int42 because there are no type that match
them. I set their typedef to be the same as the ops oid. Hope the
sanity check doesn't complain.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-11-22 07:02:43 | Re: [HACKERS] cache question |
Previous Message | Bruce Momjian | 1999-11-22 06:33:55 | cache question |