Re: ECPG patch 2, SQLDA support - Mailing list pgsql-hackers

From Boszormenyi Zoltan
Subject Re: ECPG patch 2, SQLDA support
Date
Msg-id 4B262B2E.6030809@cybertec.at
Whole thread Raw
In response to Re: ECPG patch 2, SQLDA support  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: ECPG patch 2, SQLDA support  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
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

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/


Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Hot Standby, release candidate?
Next
From: Andrew Dunstan
Date:
Subject: Re: Winflex