python twisted based postgresql adapter