Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkOX3-0003Ya-1n for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Jul 2019 07:57:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hkOX1-0000Uq-Ts for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Jul 2019 07:57:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkOX1-0000Uj-LH for pgsql-hackers@lists.postgresql.org; Mon, 08 Jul 2019 07:57:51 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkOWx-0005gL-Va for pgsql-hackers@lists.postgresql.org; Mon, 08 Jul 2019 07:57:51 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1AE7C21B82; Mon, 8 Jul 2019 03:57:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 08 Jul 2019 03:57:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=FcbBWq5iui/Q2iBMeSdt4ZeECuv 3vqM0rxNswSrmEc8=; b=hpFqo8tIMVa3vk0NBp+bCN91j75qLhX7sztVG04viYe e+XVEZuxmDzs5Uw9eu2OPBdBKpOV8oek1B8XXrmjCn8B/IdRiIIDvPuNwXAB3NR3 wizgDFh8sKXStzkMuovdtlY1EIFZFQfnZW388L6bZ1Hba3x6wIL/8Cv/TsQN6/r1 fUY05VfMzqibyXnTfX0yoKlX2LOzQES7cmQzy9BW8GboWrpg5sauWzS07S0Y0gut AQa+K/pkiDUo5xS1wQj+9K57/XRG16EjK1oBFW1kFQRMg/EhcW+rPgWuVNFjooOr BZ8PwViTuYSZlJLMiYo/eHywXAHkZZ4WC7RAsaVTjFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=FcbBWq 5iui/Q2iBMeSdt4ZeECuv3vqM0rxNswSrmEc8=; b=yGwIxtP+SY5cPWTUHZaaUl R2SJeIAFqqdGrzhO4SxyS1/fyyXX7DfytwgFHkWyZj1fgUyjYxn1DQ7+EFUnfjPh VVc67dXrlpnFqAqMa1wq1NAtEZ7WZE2znPzjV/ayDtAAuuRSHij2AhqGYDZWmAN1 7XegW7tcT6Q3pjo8zbrAimyX2+INGb+i/sACN90BDuT4MJtDJqPxS+sf+S43PrBw HjLWh1pBcdJNxwW8fV4kTUGDm8HrgekXAO/H6/IyqKA45zZ+Ej0UPcUenXldAfsr 4VxV4ftioBYgiL4buG2XNq+rzVtfGun+auJmtWe6gx7xXwPVqkUSzBZHVq53fxiw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfeelgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepudduuddruddtvddrudektddrudekheenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 24B50380087; Mon, 8 Jul 2019 03:57:42 -0400 (EDT) Date: Mon, 8 Jul 2019 16:57:40 +0900 From: Michael Paquier To: Julien Rouhaud Cc: Peter Eisentraut , Alvaro Herrera , Thomas Munro , Daniel Verite , Tom Lane , PostgreSQL Hackers , Kevin Grittner Subject: Re: Add parallelism and glibc dependent only options to reindexdb Message-ID: <20190708075740.GF2709@paquier.xyz> References: <20190701214648.GA9427@alvherre.pgsql> <7140716c-679e-a0b9-a273-b201329d8891@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OzxllxdKGCiKxUZM" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --OzxllxdKGCiKxUZM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 05, 2019 at 07:25:41PM +0200, Julien Rouhaud wrote: > On Fri, Jul 5, 2019 at 6:16 PM Peter Eisentraut wrote: >> Isn't that also the case for your proposal? We are not going to release >> a new reindexdb before a new REINDEX. >=20 > Sure, but my point was that once the new reindexdb is released (or if > you're so desperate, using a nightly build or compiling your own), it > can be used against any previous major version. There is probably a > large fraction of users who don't perform a postgres upgrade when they > upgrade their OS, so that's IMHO also something to consider. I think that we need to think long-term here and be confident in the fact we will still see breakages with collations and glibc, using a solution that we think is the right API. Peter's idea to make the backend-aware command of the filtering is cool. On top of that, there is no need to add any conflict logic in reindexdb and we can live with restricting --jobs support for non-index objects. -- Michael --OzxllxdKGCiKxUZM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl0i93QACgkQnvQgOdby QH3zuA/+LJyn3anipPMhxH7TgmHRvQQna/HudiP0sKcfOfJJGjOrmb4Pt1PTnpdi 75MeL+8xtORrnNYJNJxR4ghZyAAgjF3/nPTEpvh+IOtO8BL9BevQ4BxnZRBwAMKO SHXuOof+UeJcDKBpEgzm1tSMK+vNj7JgZgOv3+L0pwDuzkSrYh4RFwWcsx+ieb+d o4vDp5UClC5tAbGyc9A6LjZwo1CoMdFI0rBC7A84THoqPWimpjilNL4roKhrtQhe 7rRIzm8LYFypjwUF2TKyuzKFLmoXiUMvaziyyoxbBfAPT3I5NLyb+fwe6fAA8f2m /Q3CSrkSywV+I8Es2clXA0F8mrVnkfPf/XiSDBkNsC8j4e44OEwXsqifAetErYEo KFYCbcY7KmgrYFf4oRTf5lyeNvUjwS3hx3pzsUBi+bD5krGXS98sfCRe2sQhgY7+ IIkQe5FagSzro2qf4rmcist42E221iaz2cKoKNruzr/IlAOExzPofCeRfsqe7Cx0 9ilRaQ5/2XfJfbSgBkrpjAcAf3vluCrNVU+Z5ZBDsttfPqjFfMRCthFxz02C58Bc GGkPg4gktVhG3jXShayChkQrIWu0raZTQGouhNl4+L6A+2T5S639m0As3jahvslj /0nfNV1F1TnamNM3xNcTivOawcfK4i4cwW6wGYQHeqs/ErYUONI= =+UmC -----END PGP SIGNATURE----- --OzxllxdKGCiKxUZM--