set pgsql config and insert/get test