pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to find an oid that's not uesd now?
3+ messages / 3 participants
[nested] [flat]
* How to find an oid that's not uesd now?
@ 2022-10-23 16:00 jacktby@gmail.com <jacktby@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: jacktby@gmail.com @ 2022-10-23 16:00 UTC (permalink / raw)
To: pgsql-general <pgsql-general@lists.postgresql.org>
I'm adding a new index in pg, but I find this.
Duplicate OIDs detected:
Duplicate OIDs detected:
357
357
found 1 duplicate OID(s) in catalog data
found 1 duplicate OID(s) in catalog data
what sql should I run to find one?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to find an oid that's not uesd now?
@ 2022-10-23 16:06 Adrian Klaver <adrian.klaver@aklaver.com>
parent: jacktby@gmail.com <jacktby@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Klaver @ 2022-10-23 16:06 UTC (permalink / raw)
To: jacktby@gmail.com <jacktby@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>
On 10/23/22 09:00, jacktby@gmail.com wrote:
>
> I'm adding a new index in pg, but I find this.
>
> Duplicate OIDs detected:
>
> Duplicate OIDs detected:
>
> 357
>
> 357
>
> found 1 duplicate OID(s) in catalog data
>
> found 1 duplicate OID(s) in catalog data
>
> what sql should I run to find one?
More information needed:
1) Postgres version?
2) What client reported that error?
3) What is the index creation statement you used?
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to find an oid that's not uesd now?
@ 2022-10-23 16:58 Tom Lane <tgl@sss.pgh.pa.us>
parent: jacktby@gmail.com <jacktby@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2022-10-23 16:58 UTC (permalink / raw)
To: jacktby@gmail.com <jacktby@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>
"jacktby@gmail.com" <jacktby@gmail.com> writes:
> I'm adding a new index in pg, but I find this.
> Duplicate OIDs detected:
> Duplicate OIDs detected:
> 357
> 357
> found 1 duplicate OID(s) in catalog data
> found 1 duplicate OID(s) in catalog data
> what sql should I run to find one?
https://www.postgresql.org/docs/devel/system-catalog-initial-data.html#SYSTEM-CATALOG-OID-ASSIGNMENT
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2022-10-23 16:58 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-10-23 16:00 How to find an oid that's not uesd now? jacktby@gmail.com <jacktby@gmail.com>
2022-10-23 16:06 ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-10-23 16:58 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox