Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX7DZ-0001zK-7a for pgsql-committers@arkaria.postgresql.org; Fri, 27 Jan 2017 14:09:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cX7DY-00084G-Qs for pgsql-committers@arkaria.postgresql.org; Fri, 27 Jan 2017 14:09:32 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cX7DK-0007h1-UC for pgsql-committers@postgresql.org; Fri, 27 Jan 2017 14:09:19 +0000 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cX7DH-0005V8-2f for pgsql-committers@postgresql.org; Fri, 27 Jan 2017 14:09:18 +0000 Received: by mail-qt0-x235.google.com with SMTP id v23so135235986qtb.0 for ; Fri, 27 Jan 2017 06:09:14 -0800 (PST) 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=qkt89cr+Pmf/FY21On5zgSb53zzmGRb/B4aztOjWWAQ=; b=FMEDqo+sG3BxlmVjnaS+4Nv53jIG5iVNKG9p+hVIWUBw1jApiIk7+o58C2y1DFusvn DQKjCDDlQ/djzsRmPJloV67NcumIJrFbaXKAPV+pHXeMSt68qRJRh+Y6vJo1kzbJr9Wx 4ONXarv1RZcxcbqCCtg3WMuneJLw6lbl1vNbKknNnJ8RipcRXO6yHrB5dWK9+0NYzPJE +3DLggzHSvbE1oaIpXOV3TityXIonWiY2a8Q1VwdOKQDNTOdoTI0AYkyID/wi7dIvRub DQFBMK7gYeVjX4duJbSrfv7bfe5uBQBffzOBLdI6p7EhKuJwK4HmYJ2PkPcG1NCOtPS7 9XyA== 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=qkt89cr+Pmf/FY21On5zgSb53zzmGRb/B4aztOjWWAQ=; b=JqvJLPSU/RM7Le2CHSWt1JQUZ40lkT1BuX7/2OBx7X9hXQo/unhUjj1VOVVSPIvcyk 49ptwMuTlG1zBeKeXuNqNzmfqIuxS+ey4fdb3KE9D6WdotZ02Nw5mTnwKKX/c9guKYJ2 wMh9/Dg4VrWRyHRfHIBngPE0kUYUjUotViwP/Ke5Bs7m+rxsBYDcpgLKDxmcHKVR0qu5 dZQkHBbYyrV0fG0ze0D4slwfZsDyT2cH5DvCnlWLtxrX7AhlsPZiA0iylii70dAiC0MV sLyN0WgXVKaojy0ckaqPGLH9fLe55cFcjOrML7dNcN/bEbXNiARgLN4QFhP5v58RaqUt Uxpg== X-Gm-Message-State: AIkVDXJ0pwLmW8UlOBY7OfUj7NryXVWYpxdtDPMsNliLmTO6PUYXEK6zetjpDI5BGXfBkB1V X-Received: by 10.200.47.53 with SMTP id j50mr7627167qta.273.1485526153095; Fri, 27 Jan 2017 06:09:13 -0800 (PST) Received: from alvin.alvh.no-ip.org ([179.57.112.237]) by smtp.gmail.com with ESMTPSA id s75sm4201994qka.36.2017.01.27.06.09.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 06:09:12 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 1BA661D74; Fri, 27 Jan 2017 11:09:10 -0300 (CLST) Date: Fri, 27 Jan 2017 11:09:10 -0300 From: Alvaro Herrera To: Peter Eisentraut Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Fill in no_priv_msg for publications and subscriptions Message-ID: <20170127140910.ayohsiojaxemel7p@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Peter Eisentraut wrote: > On 1/26/17 4:46 PM, Alvaro Herrera wrote: > > Peter Eisentraut wrote: > >> Fill in no_priv_msg for publications and subscriptions > >> > >> Even though these messages are not used yet, we should keep the list > >> complete. > > > > Hmm, should we add a StaticAssert() somewhere that lengthof(msg_no_priv) > > is somehow consistent with the AclObjectKind enum? Probably in > > aclcheck_error() itself. > > Maybe, but I think it's not that important, because an actual test of > the permissions will easily show when something is missing or wrong. True. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers