Added --with-pgsql configuration option to pgsql