[drupal-devel] [bug] PostgreSQL Socket Connection
drupal-devel at drupal.org
Sat Jul 16 16:52:20 UTC 2005
Issue status update for
Post a follow up:
Component: postgresql database
Category: bug reports
Assigned to: Anonymous
Reported by: iamtheari
Updated by: iamtheari
Attachment: http://drupal.org/files/issues/drupal-pgsql-socket.patch (917 bytes)
Drupal does not allow for PostgreSQL connections via unix socket. I
have written a patch that allows it to do so. The effect of this patch
is that a hostname of 'localhost' in a pgsql:// $db_url will use Unix
sockets unless a port it set in the URL. A hostname of '127.0.0.1'
will use TCP/IP as before.
Unix socket: pgsql://user:pass@localhost/db
The patch is attached to this bug report. From a top-level Drupal
directory, type 'patch -p0 < /path/to/drupal-pgsql-socket.patch' to
apply it (omit the single-quotes).
More information about the drupal-devel