note 110680 deleted from function.pg-connect by aharvey
| From: | aharvey@php.net | Date: | Fri, 23 Nov 2012 01:42:00 +0000 |
| Subject: | note 110680 deleted from function.pg-connect by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192108@lists.php.net to get a copy of this message | ||
Note Submitter: Dave
----
[Edit by moderator]
If you use PgBouncer with Unix socket
<?php
$dbconn = pg_connect(\"host=/var/run/postgresql port=6432 dbname=mary\");
?>
if your pgbouncer.ini look likes this
;listen_port = 6432
unix_socket_dir = /var/run/postgresql