xref: /PHP-8.2/ext/pgsql/tests/inc/config.inc (revision c15988aa)
1<?php
2
3// These vars are used to connect db.
4// values can be set to meet your environment with the
5// environment var PGSQL_TEST_CONNSTR
6
7// "test" database must exist. i.e. "createdb test" before testing
8$conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432 user=postgres password=postgres";    // connection string
9?>
10