Anyone know how to use prepared statements in zeos?
Thanks
Carlos
Prepared statements
Moderators: gto, cipto_kh, EgonHugeist, olehs
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Pitfiend,
Your answer is correct. Not available in 6.6 nor 7.0.
7.0 simulates prepared statements, however. At least for Postgres. For Firebird they really work.
As far as I understand postgres docs, in libpq 'PQexecPrepared is supported only in protocol 3.0 and later connections; it will fail when using protocol 2.0'.
So who volunteers to code the stuff for postgres prepared statements in zeoslib 7.X? Sample implementations of prepared statements are available already for mysql and firebird. (This implementation should be version dependent, so older pg versions just work using emulation)
Mark
Your answer is correct. Not available in 6.6 nor 7.0.
7.0 simulates prepared statements, however. At least for Postgres. For Firebird they really work.
As far as I understand postgres docs, in libpq 'PQexecPrepared is supported only in protocol 3.0 and later connections; it will fail when using protocol 2.0'.
So who volunteers to code the stuff for postgres prepared statements in zeoslib 7.X? Sample implementations of prepared statements are available already for mysql and firebird. (This implementation should be version dependent, so older pg versions just work using emulation)
Mark