I can say that libpq is not the best example of how to write a client. It uses all text, it doesn't use the asynchronicity very well.
I think there is some room in libpq for improvement, if only someone would take it on :)
[1] http://plan9.bell-labs.com/sources/contrib/maht/limbo/pg/
I can say that libpq is not the best example of how to write a client. It uses all text, it doesn't use the asynchronicity very well.
I think there is some room in libpq for improvement, if only someone would take it on :)
[1] http://plan9.bell-labs.com/sources/contrib/maht/limbo/pg/