Re: ECPG patch 2, SQLDA support

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Dan Colish <dan(at)unencrypted(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Hans-Juergen Schoenig <hs(at)cybertec(dot)at>
Subject: Re: ECPG patch 2, SQLDA support
Date: 2009-12-15 09:30:59
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Boszormenyi Zoltan írta:
> Boszormenyi Zoltan írta:
>> Will post a new version soon, Michael asked to turn it
>> into an ECPG native feature instead of compat-mode-only.
> Attached is the new version that applies cleanly to HEAD.
> Changes:
> - SQLDA is now an ECPG native feature, not compat-only.
> - As a consequence, and to be coherent with the Informix syntax,
> keyword "SQL" in SQL DESCRIPTOR is now mandatory
> to denote the named SQL descriptor. "DESCRIPTOR"
> without "SQL" means SQLDA descriptor
> - SQLDA can now return more than one tuples using
> the ->desc_next pointer
> - Bcause SQLDA is now a native feature, there are two
> sqlda.pgc regression tests, to test compat-only syntax in
> compat mode and multi-tuple return values in native mode.
> - sqlda->sqlvar[i].sqltype uses ECPGt_* type symbols,
> no more funny-looking typedefs in sqltypes.h, it's a clean
> compat-only header, as it was before

New version, fixed some loose ends introduced by
the native mode and multi-tuple SQLDA.

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

Attachment Content-Type Size
2-pg85-sqlda-17-ctxdiff.patch text/x-patch 154.4 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2009-12-15 09:33:13 Re: ECPG patch 3, DESCRIBE [OUTPUT] support
Previous Message Takahiro Itagaki 2009-12-15 09:05:26 Re: New VACUUM FULL