Prev: What's the current theory about derived files inVPATH builds?
Next: [HACKERS] execute sql commands in core
From: Robert Haas on 4 Jan 2010 20:35 On Mon, Jan 4, 2010 at 1:51 PM, Boszormenyi Zoltan <zb(a)cybertec.at> wrote: > new patch is attached. Modified according to > the new DB2 / Sybase compatible SQLDA structure. > ECPGdescribe() has an "int compat" parameter, because: > - the (struct prepared_statement *)->stmt ->compat is not set, and > - it's more sensible to use the compat mode of the > ECPGdescribe() caller, because different source files can be > compiled with different (native or compat) modes. > The Informix-specific syntax "DESCRIBE ... INTO sqlda" is also > accepted in native mode now. For tracking purposes, can you add a "Patch"-type comment for each of these to the relevant entry on commitfest.postgresql.org? Thanks, ....Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: Boszormenyi Zoltan on 15 Jan 2010 07:16 Hi, I just saw that you committed the DESCRIBE patch. Please, also add this small change that adds ecpg_raise() calls to ECPGdescribe() to return the proper sqlca error in error paths for: - unsupported call for DESCRIBE INPUT - no such connection name - no such prepared statement Thanks and best regards, Zolt�n B�sz�rm�nyi -- Bible has answers for everything. Proof: "But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil." (Matthew 5:37) - basics of digital technology. "May your kingdom come" - superficial description of plate tectonics ---------------------------------- Zolt�n B�sz�rm�nyi Cybertec Sch�nig & Sch�nig GmbH http://www.postgresql.at/
From: Michael Meskes on 15 Jan 2010 08:19
On Fri, Jan 15, 2010 at 01:16:18PM +0100, Boszormenyi Zoltan wrote: > Please, also add this small change that adds ecpg_raise() > calls to ECPGdescribe() to return the proper sqlca error > in error paths for: > ... Done. 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 ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes(a)jabber.org VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers |