From: Tom Lane <tgl@sss.pgh.pa.us>
To: jacktby@gmail.com <jacktby@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: How to find an oid that's not uesd now?
Date: Sun, 23 Oct 2022 12:58:13 -0400
Message-ID: <3549952.1666544293@sss.pgh.pa.us> (raw)
In-Reply-To: <202210240000544499483@gmail.com>
References: <202210240000544499483@gmail.com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, jacktby@gmail.com
Subject: Re: How to find an oid that's not uesd now?
In-Reply-To: <3549952.1666544293@sss.pgh.pa.us>
References: <202210240000544499483@gmail.com> <3549952.1666544293@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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