Changeset 2171 for trunk/system/libraries/drivers/Database/Pgsql.php
- Timestamp:
- 02/26/2008 05:42:45 AM (9 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/drivers/Database/Pgsql.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Database/Pgsql.php
r2165 r2171 41 41 42 42 // Build the connection info 43 $port = (isset($port)) ? 'port=\''.$port.'\'' : '';44 $host = (isset($host)) ? 'host=\''.$host.'\' '.$port : ''; // if no host, connect with the socket43 $port = isset($port) ? 'port=\''.$port.'\'' : ''; 44 $host = isset($host) ? 'host=\''.$host.'\' '.$port : ''; // if no host, connect with the socket 45 45 46 46 $connection_string = $host.' dbname=\''.$database.'\' user=\''.$user.'\' password=\''.$pass.'\'';
