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 1swY8Y-004Sen-Cs for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Oct 2024 02:33:47 +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 1swY8X-008UPb-HY for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Oct 2024 02:33:45 +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 1swY8X-008UPQ-1J for pgsql-bugs@lists.postgresql.org; Fri, 04 Oct 2024 02:33:45 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1swY8T-002RNQ-3N for pgsql-bugs@lists.postgresql.org; Fri, 04 Oct 2024 02:33:44 +0000 Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2e09ff2d890so1445125a91.0 for ; Thu, 03 Oct 2024 19:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1728009220; x=1728614020; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=NXVy1a0SduS2Jz+CCipgu9C+HZiXSjmy1nDLAS6ejaw=; b=ZeG3U7sNigiFFZoHuT5L9nA+X7KFvsrRtoQKfVznbpld+inyVP/NNoI+khZhcP4doO wheh/5nFFA4162kBH232YGu+QMq+IThpwlQCrM19rK7YuVvOMp1x3e0yH61tW6G+/SCI VmlU3MSeeS1ZASspEZCpSyciYbab8WEIJUwlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728009220; x=1728614020; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NXVy1a0SduS2Jz+CCipgu9C+HZiXSjmy1nDLAS6ejaw=; b=Iv522hx5YRtVDwP0i0kn44mFqaL2iPjY9KP2JWHCCguJNCpfF3pibVHYuORDpeJ6SG 0TK6NPEKKM8u9L5G/6Z+AoTmcCQ9VcibXPp4mV8Yy2lxcoxonXE0V+cF4II/bgTjKplk CThztB68u1SgCjwI3U7sV+bOcgOOljZJRWK+y1ruZr0iEmMQmIGx1YIAmUxUUeeNxfee R/lR1K/tGCYzRifqq4I4p9HWdHFGzuxZ8Zuh+OF0A2rMMPm5ED9jdGDNkB/ItRdCy7EO 5A7YAgE2TccK4wcugUEvR+ViLBiuz3gAlaPTQKLpGtLM20EEdn7qPezfTuz5hj2Z04OH 7zDg== X-Forwarded-Encrypted: i=1; AJvYcCXHF8QX2afF6nDRnWuata5QcSscR/YTFjCXnd+rEXPZk3a0a7Z0elWlp6Qou+/lMU799gyHLhzgt9PV@lists.postgresql.org X-Gm-Message-State: AOJu0YxmesX/nosBoHA+fQElj8OX+MsqioJs9EB2XPjTYHgYTHPzi9yh SFYvVqAZsDG5yBOUaRnogn+oI78G/RcB/7Q/vBYB06d8PAmyZnrrqpPpzBjGsA== X-Google-Smtp-Source: AGHT+IHQXk0Dk1u7MfX9bWR1b4gjYg8lw0zCxwlHJSiGcC723wN8zflSw7cRnHO/wGdKWGkz2J5Z8A== X-Received: by 2002:a17:90b:4ac4:b0:2d8:ca33:42a5 with SMTP id 98e67ed59e1d1-2e1e6367493mr1217144a91.40.1728009220342; Thu, 03 Oct 2024 19:33:40 -0700 (PDT) Received: from google.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e1e866583esm286949a91.37.2024.10.03.19.33.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Oct 2024 19:33:39 -0700 (PDT) Date: Thu, 3 Oct 2024 19:33:37 -0700 From: Noah Misch To: Tom Lane 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 Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <427540.1727979435@sss.pgh.pa.us> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. > > Thoughts? For contrib/citext/sql/create_index_acl.sql, I settled on testing in contrib. I valued the test fidelity of a real opclass more than I disliked the use of contrib. The distinction between the various parts of check-world is blurry to non-hackers, so I expect it won't bother them.