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 1tAmWZ-0005oM-Bm for pgsql-docs@arkaria.postgresql.org; Tue, 12 Nov 2024 08:45:22 +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 1tAmWW-004QFC-MK for pgsql-docs@arkaria.postgresql.org; Tue, 12 Nov 2024 08:45:21 +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 1tAmWW-004QF4-4o for pgsql-docs@lists.postgresql.org; Tue, 12 Nov 2024 08:45:21 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tAmWS-001VNj-G1 for pgsql-docs@lists.postgresql.org; Tue, 12 Nov 2024 08:45:19 +0000 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.stl.internal (Postfix) with ESMTP id C8114254014F; Tue, 12 Nov 2024 03:45:15 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Tue, 12 Nov 2024 03:45:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1731401115; x=1731487515; bh=m88jqXA9tLNtd uTwz4Y5bTdcXPEo3xsXJPWJjb8jt/o=; b=E/zs+oOqzw+EWxV7VSnRBYDNNseTY smuPBYWb5XnXoo0/wn+y3K2muozEv6gMWTjzamSr0Um8eNQCUlSlp6Am+wEIsmjt oPWljPa52eS3oN9qq7qBQfTXss/BNeMXw+wCbGux8jW8M4hEFuD9rlgzPOm+mMBp zaQuZGnMX0B9OFrL+j9FcH5LlJmaP+SW69C17kle3X2QqebZZVD3ZU8sbZCF+Pex hYzYZCdDsphgiCUil9ljy+wpdZxHxjT8Sl4pHg+8alRvxatW8kDaT5kGQOD8ZCpR x+mSK5Ud+p5NOqb+5HxV3cECLAsfloXWsHmiELGqBU0IBVRvJ3R3O6WMA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgr uceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvg hrnhepleefkefhgfelteeigeejkedvjedvlefhueehfedvjeehueetveetjeekueffgfeh necuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghdpvghnthgvrhhprhhishgvug gsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdpnhgspghrtghpthhtoh epvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepthhimhdruggruggusehgmhgr ihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqughotghssehlihhsthhsrdhpohhsth hgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Nov 2024 03:45:15 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1731401112; bh=ddZ7Og8YgRk4s52xb7rdUSydWy1imEbkMfNxYHDvxIk=; h=Date:From:To:Subject:In-Reply-To:From; b=kr4la35xOVANjUCkf1OKr0lu384PJ6wmM/lW1fXL5slzo+7f2P6DVXY1WWu8E1w4f gzrHOz3B+sd45nVAcIfOr+sZtYsBDyz7tXLOu4XRNNzfVyV2xTD1i//BrD5ftiZBxu Hefow8TGA5FNHsWkzVTRHu0B7yP5M0A2Q/5dRfj6ptW1NuZSCOoCfjHBSl6+fJhqSa QJhbI+iAEgq2uqeL2yo0rzy9GtNEe2XL9cetXIFXv0eezstmnaZtqQzKdFHpeaSI41 8LDhtjh5wo5LyhY5ByaCPam411zY1i39klR1vglIZGxbV9cgk+cmAgScl1FbmYUMnw XLr9obGLxUaKg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 3AB4B95; Tue, 12 Nov 2024 09:45:12 +0100 (CET) Date: Tue, 12 Nov 2024 09:45:12 +0100 From: Alvaro Herrera To: tim.dadd@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: CREATE UNIQUE INDEX name ON table (column [, ...]) [ NULLS [ NOT ] DISTINCT ]; Message-ID: <202411120845.iyhet5dzacwy@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <173123859233.708.15625173411353921889@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Tim, On 2024-Nov-10, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/17/indexes-unique.html > Description: > > This says it works from 12 onwards but actually from 15 onwards > Prior to 15 unique partial indexes needed creating, e.g. (parent_ID, NAME) > where parent_ID is not null and (NAME) where parent_id is null I don't find any text on that page that says this is supported from 12 onwards (click on the number above and you get a different page). If you go to the page for version 14, the NULLS NOT DISTINCT bit is not there. Only in the page for version 15 does that text appear. Thanks for reporting, -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/