settin up the pg