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 1lsCzS-0007oo-AV for pgsql-general@arkaria.postgresql.org; Sat, 12 Jun 2021 23:24:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lsCzP-0007je-F0 for pgsql-general@arkaria.postgresql.org; Sat, 12 Jun 2021 23:24:31 +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 1lsCzP-0007jW-68 for pgsql-general@lists.postgresql.org; Sat, 12 Jun 2021 23:24:31 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsCzN-0006TC-3Y for pgsql-general@lists.postgresql.org; Sat, 12 Jun 2021 23:24:30 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 6CE5249E1; Sun, 13 Jun 2021 01:24:26 +0200 (CEST) Date: Sun, 13 Jun 2021 01:24:26 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: index unique Message-ID: <20210612232426.GA28500@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: <99cf7fa9-9788-c576-cb49-3aec780168f6@gmx.net> <5D617659-7B20-468C-9C40-51BFDD7D5767@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-06-11 14:37:57 +0200, Marc Millas wrote: > anyway, my original post was about the fact that we must create a PK base= d on > some kind of work around the limited btree length behaviour thus creating= an > index that will never be of any use, just for technical reasons. Actually, that index will be used, and it will be used every time you update, insert, or delete a row - by the logical replication system which has to identify the affected row(s) on the secondary system. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmDFQiUACgkQ8g5IURL+ KF2Z+w/9EhXiUtAF4zYk34WXNUXq/URnVhHYmpN7njIlct/CtZqxILOaYj+SyzwJ bXl7q56MZQbEVj7WkYLhdCbm923vO5bONp3U72qgMWcSx1gIsuk/pk6mm3+jU3hp 3QMOy3JWeyjq0utKdR8fBCbr1xNRppZtXRy4VvZB10qLXII3OUu48Q71U3MRGus/ L5BYGdkPGLeyzvDpi7/ei6AQ/yNRaP6irJbOy/ZKglPK+XX8F0RWl8o2U4IRbYgo N10XHFdvtGlF5rPKy4T3u/2W5HSRAQdddcjp/vWiRAeCN7+XdPpucOpYLd0BLqeQ V7j4ZPrgTsHTWY/v7jxNALoq65Lj6AaGMPhT3QKFhxFy6YuLGrVm3uxGW5Soky94 hFl/AJwm7Ihl49AHJQWHaVHEslnz3VOjCXTmdUEy/jXWRe/ZYhB4/H4LGMpI1Hhg zxauMCebgDyuMt4m9Z+ZI1w8SlRMHkNKE0ozPmyBmyVZoKIuUpmEF4rT5bW5G5Ce 0TZu/K0j+1BIdrZadF+i0h8SnuLEkq3EFugP7dMuJMt/0CDq039pcwSQlYmolfDF U+PxfVf8iiOXjZKLjx4tf4tW14CPmEFTRYtDmoJzl1GG3oipTpQFi1uOWpdHScuu UlOd3iehEfuJHJNP4WcrRfv4DpMN0bQvyLLauxd4NAgN10qJYcc= =i2Z4 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--