mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
* PHP-8.3: Update NEWS for recent pgsql bugfix ext/pgsql: Fix segfaults when attempting to fetch row into a non-instantiable class name (#20180)
9 lines
346 B
PHP
9 lines
346 B
PHP
<?php
|
|
|
|
// These vars are used to connect db.
|
|
// values can be set to meet your environment with the
|
|
// environment var PGSQL_TEST_CONNSTR
|
|
|
|
// "test" database must exist. i.e. "createdb test" before testing
|
|
$conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432 user=postgres password=postgres"; // connection string
|