First attempt at converting the Pg connector.
Authored by: jruigrok 2008-03-18
Parent: [r6706]
Child: [r6708]