Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZE7q3-0002xk-Rr for pgsql-committers@arkaria.postgresql.org; Sun, 12 Jul 2015 03:21:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZE7q2-0003lY-TM for pgsql-committers@arkaria.postgresql.org; Sun, 12 Jul 2015 03:21:58 +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) (envelope-from ) id 1ZE7pr-0003Ya-6D for pgsql-committers@postgresql.org; Sun, 12 Jul 2015 03:21:47 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZE7pj-0003sy-O8 for pgsql-committers@postgresql.org; Sun, 12 Jul 2015 03:21:45 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1ZE7pi-0004PE-9k; Sat, 11 Jul 2015 23:21:38 -0400 Date: Sat, 11 Jul 2015 23:21:38 -0400 From: Bruce Momjian To: Joe Conway Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add assign_expr_collations() to CreatePolicy() and AlterPolicy() Message-ID: <20150712032138.GA30572@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.5 (--) 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 Sat, Jul 11, 2015 at 09:20:41PM +0000, Joe Conway wrote: > Add assign_expr_collations() to CreatePolicy() and AlterPolicy(). > > As noted by Noah Misch, CreatePolicy() and AlterPolicy() omit to call > assign_expr_collations() on the node trees. Fix the omission and add > his test case to the rowsecurity regression test. I think this commit has added a compiler warning: policy.c:542: warning: implicit declaration of function 'assign_expr_collations' -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers