Thanks to Jerry James, I have a much cleaner implementation of the
PostgreSQL module (attached below).
Now another question about modules: how do I include libraries
dynamically? Currently I am linking in the pq library statically. This
produces a 116k .ell file.
Sean