From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Julien Rouhaud <rjuju123@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Daniel Verite <daniel@manitou-mail.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Kevin Grittner <kgrittn@gmail.com>
Subject: Re: Add parallelism and glibc dependent only options to reindexdb
Date: Tue, 9 Jul 2019 13:09:38 +0200
Message-ID: <2ea2dfd0-ef48-68c1-d1b5-004acffb5ef6@2ndquadrant.com> (raw)
In-Reply-To: <CAOBaU_btyz1d08r7S2oWHUPKdyxKKp5=jS3rhycgO8jNuLUcPg@mail.gmail.com>
References: <20190701214648.GA9427@alvherre.pgsql>
<7140716c-679e-a0b9-a273-b201329d8891@2ndquadrant.com>
<CAOBaU_a-puHZ4pc0a4dMTnFShuU7jORmKFQN29RyzGomVj1CSQ@mail.gmail.com>
<abd97c36-b3a8-643e-7d25-2e54c74e78ea@2ndquadrant.com>
<CAOBaU_bX6u=dYiCk_SJPcxQR5LR4L5tieUq71FqPjf+nk_VbZQ@mail.gmail.com>
<20190708075740.GF2709@paquier.xyz>
<CAOBaU_btyz1d08r7S2oWHUPKdyxKKp5=jS3rhycgO8jNuLUcPg@mail.gmail.com>
On 2019-07-08 21:08, Julien Rouhaud wrote:
> Don't get me wrong, I do agree that implementing filtering in the
> backend is a better design. What's bothering me is that I also agree
> that there will be more glibc breakage, and if that happens within a
> few years, a lot of people will still be using pg12- version, and they
> still won't have an efficient way to rebuild their indexes. Now, it'd
> be easy to publish an external tools that does a simple
> parallel-and-glic-filtering reindex tool that will serve that purpose
> for the few years it'll be needed, so everyone can be happy.
You can already do that: Run a query through psql to get a list of
affected tables or indexes and feed those to reindexdb using -i or -t
options.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, rjuju123@gmail.com, michael@paquier.xyz, alvherre@2ndquadrant.com, thomas.munro@gmail.com, daniel@manitou-mail.org, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org, kgrittn@gmail.com
Subject: Re: Add parallelism and glibc dependent only options to reindexdb
In-Reply-To: <2ea2dfd0-ef48-68c1-d1b5-004acffb5ef6@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox