Changeset 5230 for trunk/include/dblayer/functions_pgsql.inc.php
- Timestamp:
- Mar 21, 2010, 10:15:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_pgsql.inc.php
r5196 r5230 34 34 */ 35 35 36 function pwg_db_connect($host, $user, $password, $database )36 function pwg_db_connect($host, $user, $password, $database, $die=true) 37 37 { 38 38 $connection_string = ''; … … 50 50 $password, 51 51 $database); 52 $link = pg_connect($connection_string) or my_error('pg_connect', false);52 $link = pg_connect($connection_string) or my_error('pg_connect', $die); 53 53 54 54 return $link; 55 } 56 57 function pwg_select_db($database=null, $link=null, $die=null) 58 { 59 return true; 55 60 } 56 61
Note: See TracChangeset
for help on using the changeset viewer.