jong
committed
on 31 Oct 01
initial version, pulled out some more pg dependent querys