LibSDBI is a very simple SQL database interface, for multiple types of SQL databases. Its aim is to be able to manage multiple database types with a single interface, and it follows the KISS theory. It loads the database dependent codes from shared object(.so). In the basic tarball the PostgreSQL module is included.
Where are some tarballs? From home I only can access the web, thought a firewall(web not only means the port 80, but the whole protocol).
So, what should I do to be able the use it? download the win32 version, install wine, and run that from my linux box? You must be joking.
PostgreSQL is a forkbomb...
Try this: create a table, with an AFTER INSERT trigger on it. In the trigger procedure make a query into the database. Now, set postgres into debug level 2 or 3. every time your function runs, it connnects to the database. Postgres handles each connection in a separate process, so a new process is fork()-ed. now insert about 5000 rows into that table. notice the speed.
now install some forkbomb protection into your system(eg grsecurity), and for the test set the limit into a minimal value, 20 forks/second etc. Now insert 5000 rows again. notice the speed. It's a real forkbomb, yes.