Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sx9p7-008I5i-65 for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Oct 2024 18:48:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sx9p5-003YYP-Qj for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Oct 2024 18:48:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sx9p5-003YUh-HO for pgsql-bugs@lists.postgresql.org; Sat, 05 Oct 2024 18:48:11 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sx9p3-002k21-Bq for pgsql-bugs@lists.postgresql.org; Sat, 05 Oct 2024 18:48:10 +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 495Im57S1055981; Sat, 5 Oct 2024 14:48:05 -0400 From: Tom Lane To: Noah Misch cc: David Rowley , usamoi@outlook.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18637: CREATE INDEX won't look up operator classes in search_path if PARTITION BY is specified In-reply-to: <20241004023337.36.nmisch@google.com> References: <18637-f51e314546e3ba2a@postgresql.org> <231375.1727925543@sss.pgh.pa.us> <364851.1727974294@sss.pgh.pa.us> <427540.1727979435@sss.pgh.pa.us> <20241004023337.36.nmisch@google.com> Comments: In-reply-to Noah Misch message dated "Thu, 03 Oct 2024 19:33:37 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1055979.1728154085.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Oct 2024 14:48:05 -0400 Message-ID: <1055980.1728154085@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > On Thu, Oct 03, 2024 at 02:17:15PM -0400, Tom Lane wrote: >> This could stand an additional regression test case perhaps, >> but the core tests don't have a suitable opclass at hand. >> Maybe we could test it in some contrib module, but that >> seems a shade hacky. > For contrib/citext/sql/create_index_acl.sql, I settled on testing in con= trib. > I valued the test fidelity of a real opclass more than I disliked the us= e of > contrib. The distinction between the various parts of check-world is bl= urry > to non-hackers, so I expect it won't bother them. Agreed. Pushed it with a test added to contrib/seg, just to be different. regards, tom lane