Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRLcu-0005gA-Om for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 15:15:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRLcu-0000G7-BN for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 15:15:20 +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) (envelope-from ) id 1aRLcu-0000Fk-2a for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 15:15:20 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aRLcr-0005X1-H6 for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 15:15:19 +0000 Received: from [192.168.0.103] (unknown [195.91.159.131]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 7502C3ABE48; Thu, 4 Feb 2016 16:15:16 +0100 (CET) User-Agent: K-9 Mail for Android In-Reply-To: References: <20160126123420.2539.85100@wrigleys.postgresql.org> <20160204121141.bl3dbdnv2vipl4j5@alap3.anarazel.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: BUG #13891: Deparsed arbiter WHERE clauses cannot be parsed by Postgres From: Andres Freund Date: Thu, 04 Feb 2016 18:15:14 +0300 To: Peter Geoghegan CC: =?UTF-8?Q?=C3=96nder_Kalac=C4=B1?= , pgsql-bugs Message-ID: X-Pg-Spam-Score: -4.7 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On February 4, 2016 5:16:16 PM GMT+03:00, Peter Geoghegan wrote: >On Thu, Feb 4, 2016 at 4:11 AM, Andres Freund >wrote: >> Can you add code to execute the resulting statements? Because >obviously >> just seeing the output ain't enough. Seems like an easily repeatable >> error, and the regression test scase ought to be pretty easy with a >DO >> and a loop. > >What do you mean? > >The stored rules whose output was modified as part of the fix are >actually executed already -- no change there. Önder's complaint was >that deparsing doesn't work. It was not that stored rules were ever >independently broken. I want the deparse output to be executed. Andres --- Please excuse brevity and formatting - I am writing this on my mobile phone. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs