Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W6bpV-0005ox-8x for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Jan 2014 08:09:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W6bpU-0004ub-KO for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Jan 2014 08:09:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W6bpT-0004uU-Le for pgsql-bugs@postgresql.org; Fri, 24 Jan 2014 08:09:31 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W6bpQ-000662-Q4 for pgsql-bugs@postgresql.org; Fri, 24 Jan 2014 08:09:31 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id EDE8F1B60B7; Fri, 24 Jan 2014 09:09:26 +0100 (CET) Received: from feivel (wan3.credativ.com [94.79.138.166]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mme@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id DFC251B60B6; Fri, 24 Jan 2014 09:09:26 +0100 (CET) Received: by feivel (Postfix, from userid 1000) id DC2BB4048B; Fri, 24 Jan 2014 09:09:26 +0100 (CET) Date: Fri, 24 Jan 2014 09:09:26 +0100 From: Michael Meskes To: Boszormenyi Zoltan Cc: Tom Lane , herbert.grohmann@vallourec.com, pgsql-bugs@postgresql.org Subject: Re: BUG #8893: Precompiler ECPG doesn't check Var-List in Select corrrect. Message-ID: <20140124080926.GB9325@feivel.credativ.lan> References: <20140120115411.26701.48100@wrigleys.postgresql.org> <14700.1390232209@sss.pgh.pa.us> <52DDA126.8040003@pr.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <52DDA126.8040003@pr.hu> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) 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 Mon, Jan 20, 2014 at 11:20:22PM +0100, Boszormenyi Zoltan wrote: > Still, this particular problem may be caught by the preprocessor. > The SELECT targetlist is not "*", so the number of members for both Probably better looking for "*" as part of the targetlist, but yeah, that should be doable. > the targetlist and the user structure (INTO :s_schichtsatz) are known. However, from the top of my head I'd say it require an amount of code changes that I would hesitate to backport. After all it's a new feature and not a bugfix. And since Herbert indicated problems with updating his PostgreSQL version, it won't help him much I'm afraid. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs