From: Nathan Bossart <nathandbossart@gmail.com>
To: Matheus Alcantara <matheusssilv97@gmail.com>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: pgsql-hackers@postgresql.org
Cc: alvherre@kurilemu.de
Subject: Re: REPACK (CONCURRENTLY) fails when table owner lacks CONNECT
Date: Thu, 27 Aug 2026 14:19:14 -0500
Message-ID: <apCNsqM7uGJwXUa5@nathan> (raw)
In-Reply-To: <DKZYDQBK71EG.MRKXKB9IINVJ@gmail.com>
References: <apBbzFd_EYAfHV45@nathan>
<3afc9eed-67eb-45a6-8e15-5972404635c3@gmail.com>
<CALj2ACVioNbKZK1MuMsyUCbwb9Fvw0K=hZYfbwn5pLm7OXaODA@mail.gmail.com>
<DKZYDQBK71EG.MRKXKB9IINVJ@gmail.com>
The patch looks reasonable to me.
On Thu, Aug 27, 2026 at 03:55:11PM -0300, Matheus Alcantara wrote:
> Added this new test case on attached.
I'm not sure the new tests are necessary. It seems unlikely that we'll
accidentally remove the flags down the road.
--
nathan
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: nathandbossart@gmail.com, matheusssilv97@gmail.com, bharath.rupireddyforpostgres@gmail.com, alvherre@kurilemu.de
Subject: Re: REPACK (CONCURRENTLY) fails when table owner lacks CONNECT
In-Reply-To: <apCNsqM7uGJwXUa5@nathan>
References: <apBbzFd_EYAfHV45@nathan> <3afc9eed-67eb-45a6-8e15-5972404635c3@gmail.com> <CALj2ACVioNbKZK1MuMsyUCbwb9Fvw0K=hZYfbwn5pLm7OXaODA@mail.gmail.com> <DKZYDQBK71EG.MRKXKB9IINVJ@gmail.com> <apCNsqM7uGJwXUa5@nathan>
* 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