Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llwfC-0004nG-DQ for pgsql-hackers@arkaria.postgresql.org; Wed, 26 May 2021 16:45:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1llwfB-00071Y-BP for pgsql-hackers@arkaria.postgresql.org; Wed, 26 May 2021 16:45:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llwfB-0006yF-3U for pgsql-hackers@lists.postgresql.org; Wed, 26 May 2021 16:45:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llwf8-0001oL-QR for pgsql-hackers@lists.postgresql.org; Wed, 26 May 2021 16:45:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 14QGjcPc1509335; Wed, 26 May 2021 12:45:39 -0400 From: Tom Lane To: Robert Haas cc: PostgreSQL Hackers , Rushabh Lathia , Tomas Vondra Subject: Re: Replacing pg_depend PIN entries with a fixed range check In-reply-to: References: <3737988.1618451008@sss.pgh.pa.us> <3784992.1618504668@sss.pgh.pa.us> <1363425.1620858059@sss.pgh.pa.us> <1506074.1622043428@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Wed, 26 May 2021 12:35:01 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1509333.1622047538.1@sss.pgh.pa.us> Date: Wed, 26 May 2021 12:45:38 -0400 Message-ID: <1509334.1622047538@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > So I think your proposal of allowing genbki-assigned OIDs to be reused > in different catalogs is probably a pretty good one, but I wonder if > we could just rejigger things so that collations just get normal OIDs > > 16384. Hm. I can't readily think of a non-hack way of making that happen. It's also unclear to me how it'd interact with assignment of OIDs to regular user objects. Maybe we'll have to go there eventually, but I'm not in a hurry to. Meanwhile, I'll draft a patch for the other thing. regards, tom lane