Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX71d-0001Qi-RW for pgsql-committers@arkaria.postgresql.org; Fri, 27 Jan 2017 13:57:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cX71d-0006An-9z for pgsql-committers@arkaria.postgresql.org; Fri, 27 Jan 2017 13:57:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cX71c-0006Ah-Qj for pgsql-committers@postgresql.org; Fri, 27 Jan 2017 13:57:13 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cX71Z-0002zE-SD for pgsql-committers@postgresql.org; Fri, 27 Jan 2017 13:57:11 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8502720A8C; Fri, 27 Jan 2017 08:57:08 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Fri, 27 Jan 2017 08:57:08 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=anXBcQxrV6jj/Biy7ODHV1/Itf0=; b=Qc2CyilpnFXgtHwqlPHf bZuJm4RWonYMejiK8/Itg+P5MWri91cnB/ZpXAiTIhTD17cpD2NsqeFk2jJRKW95 eTBgoM+fxYSOR1uVznC+5GsczdPxRm6zeHnkfjBgl3Ouicrc76BpvKGrIZg2pKTc lPa5r5KabBDS5dBqyr5WEZk= X-ME-Sender: X-Sasl-enc: LLFOtcNcoeHUGfN1bL4o5nIXLYrX6ONCMhr85ZcLB4w3 1485525428 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 42ADD24528; Fri, 27 Jan 2017 08:57:08 -0500 (EST) Subject: Re: pgsql: Fill in no_priv_msg for publications and subscriptions To: Alvaro Herrera References: <20170126214644.neowuvlg2lz3vaas@alvherre.pgsql> Cc: pgsql-committers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com> Date: Fri, 27 Jan 2017 08:57:07 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170126214644.neowuvlg2lz3vaas@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 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. -- Peter Eisentraut http://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