output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
Binary package hint: php5-cli
test.php: "dbname= validorinvalidn ame user=validorinv aliduser pass=validorinv alidpass" ); print "connected (or not)\n"; ?>
<?php pg_connect(
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1 contrib- 8.1 8.1.4-0ubuntu1 client- 8.1 8.1.4-0ubuntu1 client- common 53ubuntu3
postgresql-
postgresql-comon1 53ubuntu3
postgresql-
postgresql-