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 1i8tIF-0001iq-3l for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Sep 2019 21:39:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i8tIC-0003xR-Qu for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Sep 2019 21:39:48 +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 1i8tIC-0003xK-Hn for pgsql-hackers@lists.postgresql.org; Fri, 13 Sep 2019 21:39:48 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i8tI9-00087s-Cz for pgsql-hackers@postgresql.org; Fri, 13 Sep 2019 21:39:47 +0000 Received: by mail-qt1-x843.google.com with SMTP id x5so3938885qtr.7 for ; Fri, 13 Sep 2019 14:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=pGd1q3rtW++hw5Llkljr08Ln76VzCXrJ6brh8xcZ8bM=; b=OKJSvuabLFxMoTsWPatTH7Uszp41056VXLjdIzVPWx2RIznAVOGYRYsdc8w7vwhrc3 0hZRB9ik117arUeo3E/GQKgaqYDxPhTOkVmw8hoemVQRA+yeTEF/L/QBF1IJQuvrK8CG 2Jau4I1kRd5xvEP7IQiJzOTsD23BfOz0HhoBppc6OWLru2kwvzzwAjGX0c2I+giC+J+O nlJ1bzdVDRulIZICCSIyMEg6VpwzlVQk33d5XhtL1mFoiThK4kDZWUqfo4sgF1P3C+H1 BC60SBG5KiwHwermbYV8ni9Sxtc9pr/k0tFsQZAIwzAdBegcLmWX4imXKIy5wqqQ2AUU 4dgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=pGd1q3rtW++hw5Llkljr08Ln76VzCXrJ6brh8xcZ8bM=; b=jIJKa5eJiCC5szTOsu7t9QDYevnGO5kIiCB+FCoc+4Z1ldsYwUAP90RWoJnypMogyE 53n6Cd5De8krqCgy+yLilYG3HrDD0X2mi2okoBGg6GqvuoKU1ajvuUOjHvkLF2bOoqZ3 tiNe5eL/Mvj8ssho62Bwt6tZ7hCg3Nm7Bg71HAbwUno7SddYwcs49nxdUf0tQJPfP1Bh s6aUXZnR6mO3dLw/H2dSyldMlWlHG17PZsGixhfseOiZdaTpGZLzibl3WAQDlCXRy/wo b0zfaH+c0Rz8ClZtKnGBEQ0IlIphUbwVreJhUQ9i4joHax+u4cLjtSGhML8zzWPEIkb0 3ZzA== X-Gm-Message-State: APjAAAU790RJKbbWv4LVefkF/t1lP1sX+CJzyFYOe9BcjcDEVlB4qb0X mfnFXdbb4GSFsX0XQyOUyQxMVEo30M4= X-Google-Smtp-Source: APXvYqwLNnmJKBFA+xPt7SvOa37nVf7js/Cu9+FSWAlBfKjNpJsLI82ZHg4bUepnm1A/z+WrBt0XlQ== X-Received: by 2002:ac8:1102:: with SMTP id c2mr5761447qtj.340.1568410783709; Fri, 13 Sep 2019 14:39:43 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id e4sm967161qkl.135.2019.09.13.14.39.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 14:39:43 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 6705C120243; Fri, 13 Sep 2019 18:39:40 -0300 (-03) Date: Fri, 13 Sep 2019 18:39:40 -0300 From: Alvaro Herrera To: Peter Eisentraut Cc: pgsql-hackers Subject: Re: allow_system_table_mods stuff Message-ID: <20190913213940.GA20917@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jun-28, Peter Eisentraut wrote: > Here is a new patch after the discussion. > > - Rename allow_system_table_mods to allow_system_table_ddl. > > (This makes room for a new allow_system_table_dml, but it's not > implemented here.) > > - Make allow_system_table_ddl SUSET. > > - Add regression test. > > - Remove the behavior that allow_system_table_mods allowed > non-superusers to do DML on catalog tables without further access checking. > > I think there was general agreement on all these points. I think this patch is at a point where it merits closer review from fellow committers, so I marked it RfC for now. I hope non-committers would also look at it some more, though. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services