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.96) (envelope-from ) id 1w199s-00028C-2L for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 20:30:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w198s-0006Mm-1O for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 20:29:55 +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.96) (envelope-from ) id 1w198s-0006Md-01 for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2026 20:29:54 +0000 Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w198q-000000001Q8-0Bo1 for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2026 20:29:54 +0000 Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-67bb5e4cf5aso1609247eaf.2 for ; Fri, 13 Mar 2026 13:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773433790; cv=none; d=google.com; s=arc-20240605; b=S2lnQqsnA0TwiHYRwCuK0piYYrxEJT/elvU0YO8Fo2XOXFaRyawuFwSI0O7HxCC52p 7oR2yDez63JYWc9Pgbjn/zXVorkXsEQxJqxzAqFzkc1S+Gfula7x8GkshektFJtSkqct qBe7OTQh9rszCBuqZxCIMdfr0maD/0a7ZiMmorTTxJaLNmS5NCm4PxW10MaKBuS0VJwM 11rOfS7nqqlllDrSCpUIw0JcoFJt//GEEAITTX1y2EBcuy/t9RAar6n7Rb8l15vTl1qm dRhBtkpx8vAUrZhf+9AXBBTRIk/k1lLEzNoomAKn1Z3pY6jnv2E8XjcaMPRGizZCo7w2 /OPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qDpLSYOePipBGEmO5BiQ1u+pWwWuKJ8kvv0y9aJaoRQ=; fh=lHSeeIswd2WHZV6Q/BKqUzft9i2gLMW/iBW3WVEi1mQ=; b=SS3UA056Eo5voZ++qVMsl3ZC/O++x4vHGGOGlCUqi+WwjV5AoRnic+/3aROOk08Fs4 qorrtD7y/AWtXMLxojOkxlQJF7ju6rgB22oiysqfEMr83J4BKxawewzOoF7x8whDAQFa +L9rf86yiYRBcY8tV7tSJY/kXBlnp/xoFxeEL1xKA5K3QgFJ8jhGh03N+ALiGWLJOzGJ j8zjufy5fGZrAw6HBqnUsXoJZh9r3v2TOcTLO+Yfar+YIdwBpAmNUFeWA10jIlYp8Sjn w+ADtYZ82rKBawJ1qKQDC6Wh3uMN7MiiPGZgbv4sc8MCX679AMjNdqnTQxXIE78SOx/q zHKg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illuminatedcomputing-com.20230601.gappssmtp.com; s=20230601; t=1773433790; x=1774038590; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qDpLSYOePipBGEmO5BiQ1u+pWwWuKJ8kvv0y9aJaoRQ=; b=qq6NhPxnv01LJ+SnPV97KBgSeh4x42FESNZ0H+widAkfeTbjevgU1yi02JvnTqJOBQ l3/7bZI0mXm9zTYWiV22VURbuJcqdBtt7N0BjZPE5ckwvPTIKfGho8GIfJrvGl2BGubW 0f91BI+MFARNTNQoHFJ+1MU3+odTrrsQs7KY18p36KjnlV5KP3pACvf1wgKmcI2OYArp DQCGLYE8dVZPPwAkte5r/ckPwlKUOhXyX2Q89HajKf21ufHD7nReVONp20auaQFmGu5p xuxntI1lq6Wepcd/z5xzimNN5yWJVs7g5WVJ3UVtr7Hqm0CUFugcXTixysI0/uKuB7Qr +cfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773433790; x=1774038590; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qDpLSYOePipBGEmO5BiQ1u+pWwWuKJ8kvv0y9aJaoRQ=; b=gjAde4hqaK7a9BcJ90T30cv+UoaDaKNw2+voSAa1f5MBmQ/nDSnDfnPIE8v8YsyOn1 j9jxxL+sSwE5/9oXFbzwNH3fgzzXrtVtaW7IHAZiqQgT/xmt8sB9r3FFkIO9BcMhGftK V4GN8keo64CBe8BA5maZmcIY5IpENLA7FYScRa7KcoIOeKU/018gEp7NC9r5rDDrvvQ8 p+A6A/gjjswcrsiZrdNZ1fReit8PyKl4ml3Dsg4F0NcM2cxfh7GTTM4AzWU2TzyJzFlW uIIDpo7pvo2L1qSFWEPMLnRjMQAveMsauGoZIp4yXZ1hnMpp1usfpVFr1iGy6GYmkU4d CzHg== X-Gm-Message-State: AOJu0YzzotZcJQUk6LIDGiPaGuynlKnCE4fDQN+EZqogJu+iu4nQTFIq rvV386P0HHykC3ylgdxKrimtCzkIM8N0workulQlvKJM2d+xTvlKeTKNxbdZTzF2PY2b9viVP+r qQVNWq5PCWiESLIupdvZ/wwJxy8T/Xiuf7e05m6rfDw== X-Gm-Gg: ATEYQzzz+W368Fhw/+sculoFMWlaM30/CgUOg6wYBEw8hTNEhRSGMCBctvEoUYXMKWP 4NyFtPm9rvihuA89Xh6baKSa3bjD8vFE4viSFWkItoF6IyoN14Uf/NNOOqySmMbSByCcrZQCKbI xV7fDyfBp78+6gUc5sUgsjrHhBKTwCY1sDcDQVI4iWsEdWwWVAGO8WPZkMumn7J0UDIc1/M2P4f /XwOrsDe7wsFuyrhcFt2G3KpmQAj9qvazNvNFtVzrrdaOaH4s9EFH8pKyTWg4fVj4oVjPquc7Gr 6hTiiSXytdpNZp0= X-Received: by 2002:a05:6820:98f:b0:67b:bcf3:1e1b with SMTP id 006d021491bc7-67bda98d357mr2921517eaf.3.1773433789885; Fri, 13 Mar 2026 13:29:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul A Jungwirth Date: Fri, 13 Mar 2026 13:29:38 -0700 X-Gm-Features: AaiRm53KV4EDaIHm3PGjcyYUNpI-E1eL2hsv2nmOKHLNhLvpetT1RDv0cynbb8g Message-ID: Subject: Re: Create unique GiST indexes To: Kirill Reshke Cc: PostgreSQL Hackers , Matthias van de Meent , Tom Lane , Laurenz Albe , n.bartek3762@gmail.com, Peter Eisentraut , Warda Bibi , "Prafulla P. Ranadive" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jan 2, 2026 at 10:39=E2=80=AFAM Paul A Jungwirth wrote: > > This is the missing MVCC functionality I mentioned when I posted the > patch. It's the next thing on my list to work on. As I said the patch > is not really done. But it took longer than I expected to send a reply > to Matthias, and I wanted to post something before the commitfest > deadline. And I thought I at least had enough to get feedback on the > overall approach. > > I think your example here would make a great isolation test though. > I'll incorporate that into future work, or please feel free to write > it yourself and share if you like. I realized my approach to this patch is just wrong, because I'm only searching one index leaf page for conflicts (whichever one the insert lands on), and they might be in different pages, due to changes in penalty, splits, and maybe other reasons. I've been working on a different approach, but I don't have something ready to send in yet. I've updated the commitfest status to Waiting on Author. Yours, --=20 Paul ~{:-) pj@illuminatedcomputing.com