On Sat, Feb 06, 1999 at 07:16:14PM -0600, James Thompson wrote:
Gotta look at this.
> With it you end up with something like the following in your code
> exec sql
> insert into customer(id,name_first,name_middle,name_last,company,
> values (:id,:name_first, :name_middle, :name_last,
Xou can even add indicators like in
... values (:id,:name_first, :name_middle:nm_ind, :name_last, ...
If nm_ind is set to -1 the name_middle entry will be set to NULL.
> The author of the code is very responsive to few problem reports I have
> sent him and has sent patches, or workarounds to me usually within 24
Glad I can help. :-)
> In the few cases you can't figure out a way to make something happen using
> ecpg I believe you can mix the libpg and ecpg code in the same program.
> The only place I could see a need for this is when you'd need the
> functionality given by Pro*C's Dynamic SQL which ecpg doesn't yet support,
> but I think its in the works.
It is. In fact I already submitted a patch for the PREPARE and EXECUTE
commands. James, if you'd like to test this I can send you the source until
it makes its way into CVS.
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(dot)Meskes(at)gmx(dot)net | Use PostgreSQL!
In response to
pgsql-interfaces by date
|Next:||From: Klaus Werner Krygier||Date: 1999-02-07 22:19:06|
|Previous:||From: Dinesh Patil||Date: 1999-02-07 01:42:29|
|Subject: help on libpq|