postgres wont do preparedstatements

Paul J Stevens paul at nfg.nl
Sun Feb 24 11:21:55 CET 2008


I've tried both with ZBDEBUG=TRUE and of course with getLastError, but
both tell me nothing.

And I didn't miss the getConnection part. Normal queries using
executeQuery run just fine, as do prepared statements with mysql.

I'm attaching my testzdb.c which doesnt work.

My git tree with zdb related work is visible at:

http://git.dbmail.eu/?p=paul/dbmail;a=shortlog;h=zdb

the calls that talk to zdb are all in dm_db.c starting around like 150.


thanks,



Jan-Henrik Haukeland wrote:
> Ps. Also run with the debug flag set, ZBDEBUG = TRUE; Not that we  
> output much debug info, but you may be lucky. Since postgres work with  
> pool.c this sounds strange, though pool.c of course may not test all  
> cases. Please double check how you call libzdb if you have not already  
> done so first.
> 
> Maybe you have a dbmail repository we can look at for the  
> implementation?
> 
> 
> --
> To unsubscribe:
> http://www.tildeslash.com/mailman/listinfo/libzdb-general
> 


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testzdb.c
Type: text/x-csrc
Size: 726 bytes
Desc: not available
Url : http://www.tildeslash.com/pipermail/libzdb-general/attachments/20080224/0d5c8a7b/attachment.bin 


More information about the libzdb-general mailing list