pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Jeff Davis <pgsql@j-davis.com>
To: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Fix search_path to a safe value during maintenance operations.
Date: Thu, 06 Jul 2023 00:55:14 -0700
Message-ID: <931c23465c331fc3d53073cdefa53bad464b0469.camel@j-davis.com> (raw )
In-Reply-To: <20230630050921.GA2640352@nathanxps13 >
References: <20230612170510.GA201972@gust.leadboat.com >
<f53df2dbe11bb42764bcdd003a54aa29c9bb6137.camel@j-davis.com >
<20230613182920.GA259321@gust.leadboat.com >
<1799839.1686687804@sss.pgh.pa.us >
<4df537f5a0d8c0ceac3eec3809d1144880b8e76d.camel@j-davis.com >
<CA+TgmoYtJU0KknWr11W--wK=4eJtdHOgupyT=beZVPC8P=o+YA@mail.gmail.com >
<578fb4be80247570e6a05924908765a0b345971e.camel@j-davis.com >
<CA+TgmoZVCHERUkXhAMT2Er-sKBc5C6_iX+TpxxivBevDHzq2TQ@mail.gmail.com >
<43bbc9f7318057f51552d5986830908cb018dadf.camel@j-davis.com >
<1659699.1688086436@sss.pgh.pa.us >
<20230630050921.GA2640352@nathanxps13 >
On Thu, 2023-06-29 at 22:09 -0700, Nathan Bossart wrote:
> On Thu, Jun 29, 2023 at 08:53:56PM -0400, Tom Lane wrote:
> > I'm leaning to Robert's thought that we need to revert this for
> > now,
> > and think harder about how to make it work cleanly and safely.
>
> Since it sounds like this is headed towards a revert, here's a patch
> for
> removing MAINTAIN and pg_maintain.
It was difficult to review standalone, so I tried a quick version
myself and ended up with very similar results. The only substantial
difference was that I put back:
+ if (!vacuum_is_relation_owner(relid, classForm,
options))
+ continue;
in get_all_vacuum_rels() whereas your patch left it out -- double-check
that we're doing the right thing there.
Also remember to bump the catversion. Other than that, it looks good to
me.
Regards,
Jeff Davis
view thread (59+ messages) latest in thread
Message-ID: <931c23465c331fc3d53073cdefa53bad464b0469.camel@j-davis.com>
Permalink: ../931c23465c331fc3d53073cdefa53bad464b0469.camel@j-davis.com/
Also on: postgresql.org/message-id/931c23465c331fc3d53073cdefa53bad464b0469.camel@j-davis.com
copy link · copy postgr.es
reply 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-committers@postgresql.org
Cc: pgsql@j-davis.com, nathandbossart@gmail.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, noah@leadboat.com, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Fix search_path to a safe value during maintenance operations.
In-Reply-To: <931c23465c331fc3d53073cdefa53bad464b0469.camel@j-davis.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