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 1pCqyr-0006w0-JW for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jan 2023 23:46:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pCqyo-0003Ca-T0 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jan 2023 23:46:02 +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 1pCqyo-0003CR-I8 for pgsql-hackers@lists.postgresql.org; Tue, 03 Jan 2023 23:46:02 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pCqyg-0001WS-Ry for pgsql-hackers@postgresql.org; Tue, 03 Jan 2023 23:46:01 +0000 Received: by mail-pj1-x102c.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso37428229pjt.0 for ; Tue, 03 Jan 2023 15:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YdqdHYhsfZlHve/M45XXiEGUPNJsKEgNg5udYk/4VLA=; b=GUkuyGaFVi3ssP0CCmumT98tQN5VtXvyAy/WU4iS5e02Z5YdbvcL47jq/9n5AES1QO Jdk7pHDFrWr4Jieo11VWWFU/nTFB1bTUTiS/S8YXWgvatJaLWuQDreryG0crFcp474xp 66CrYNt6KwvyCWLPbOKd0ubT6zQ/2uYI96j8j++gACYx+0c1/bc8A3dgDwwQQwOivaTP q3NkVYUiJpVmIFqyJCf8P4G2+hkfQZmwFa+t2zWPqKAxpU5diQEvjyYJYxvNYtl8UtY7 hAPv0WRRJK8Y2glcXI68/XimH7wYjEgW+UNAH0wR6J6wzAnBKwzRMe/CracMp5v3eiWU kM6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YdqdHYhsfZlHve/M45XXiEGUPNJsKEgNg5udYk/4VLA=; b=a3B3pRmZsMsDjAMfSNnBhfL6XfqTMf8Z9qaRyNZFWHNzH2CAHkGPFMydmE7noL6nqZ NH6Qb7SYwnP5BoVqywoiLgHMQKHOSkzeU2/0O1TCc5ZuULXM5ptVhWmycqmOsKGmtF3r XjodSWcRJK7z1IuU4axtwnpS7xSGtKINlj2Ii20nmq/LCBtR+y/hjnE+EAn+AF2GsM3y STuDvBp04IxdQSc5omMA/LmBq8xbmBEXCRDVq93QFNQ+4tzrt/aPh5PCSOtMy4Oi7jtL ipy2GMwXZKIDVnp1mQe7464aeM3QZefDSKd0rumZgsIfz29UqdDC/fmB0GJn8brpYEDi xGLg== X-Gm-Message-State: AFqh2kqvl3PGimH+kDllx17yj5TgRfh09nw8rGV9Is2QW6rC4uahlEKS vcQMuGWMeermffjvevgflO0= X-Google-Smtp-Source: AMrXdXsiuCIKT2q/fil6BAp3GjGOBSRHU62a0K0cf1mHTxEECHD5a8e8K23ZrcPW/3jljbwpl4KWrQ== X-Received: by 2002:a17:90a:7106:b0:226:3f8:5b78 with SMTP id h6-20020a17090a710600b0022603f85b78mr27532384pjk.13.1672789552387; Tue, 03 Jan 2023 15:45:52 -0800 (PST) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id s5-20020a17090a760500b0022630ba1c80sm9082183pjk.42.2023.01.03.15.45.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 15:45:51 -0800 (PST) Date: Tue, 3 Jan 2023 15:45:49 -0800 From: Nathan Bossart To: Ted Yu Cc: Jeff Davis , Pavel Luzanov , Justin Pryzby , pgsql-hackers@postgresql.org Subject: Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX Message-ID: <20230103234549.GA289060@nathanxps13> References: <8f7172da-2b58-3bd0-97ae-5126e2a7970c@postgrespro.ru> <20221214221140.GA1153@telsasoft.com> <295e86c7aeafb8e2623f8eccdc846855bf2c7e0c.camel@j-davis.com> <20221217060408.GA1256247@nathanxps13> <20221218233018.GA1476904@nathanxps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221218233018.GA1476904@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Dec 18, 2022 at 03:30:18PM -0800, Nathan Bossart wrote: > Here is a new version of the patch. Besides some cleanup, I added an index > on reltoastrelid for the toast-to-main-relation lookup. Before I bother > adjusting the tests and documentation, I'm curious to hear thoughts on > whether this seems like a viable approach. I'd like to get this fixed, but I have yet to hear thoughts on the suggested approach. I'll proceed with adjusting the tests and documentation shortly unless someone objects. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com