pgsql 0.3 and style fixes.