postgres wont do preparedstatements

Jan-Henrik Haukeland hauk at tildeslash.com
Sat Feb 23 19:31:32 CET 2008


On 23. feb.. 2008, at 09.49, Paul J Stevens wrote:

> My test code reads:
>
> URL_T url = URL_new("postgresql://dbmail:dbmail@localhost/dbmail");
> ConnectionPool_T pool = ConnectionPool_new(url);

You should throw in a ConnectionPool_start(pool) before getting  
connections from the pool. Maybe you did not post the full test  
program? You may also want to catch the exception and use  
Connection_getLastError() to see if that says anything. If the problem  
persist, I hope Martin can help as he is responsible for the postgres  
implementation.





More information about the libzdb-general mailing list