Re: BUG #8893: Precompiler ECPG doesn't check Var-List in Select corrrect. - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: BUG #8893: Precompiler ECPG doesn't check Var-List in Select corrrect.
Date
Msg-id 20140124080926.GB9325@feivel.credativ.lan
Whole thread Raw
In response to Re: BUG #8893: Precompiler ECPG doesn't check Var-List in Select corrrect.  (Boszormenyi Zoltan <zboszor@pr.hu>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: BUG #8218: Error when querying an JSON data, 9.3beta
Next
From: maxim.boguk@gmail.com
Date:
Subject: BUG #8954: Wrong text in database log during "truncate scan"