El Vie 12 Dic 2003 00:09, Gerard Samuel escribió: > What good is this function? > A quick example of the wall Im running into -> > $sql = 'INSERT INTO .....'; > $result = pg_query($conn_id, $sql); > if ($result === false) > { > var_dump( pg_result_error( $result ) ); I would use here this: die(pg_result_error( $result )); > } > > According to the manual, pg_result_error takes the result resource. > If that resource is boolean false for one reason or another, then > pg_result_error isn't useful. > Anyone has any other ideas, besides using > pg_last_error()? Did you try it? -- 08:43:01 up 16 days, 14:59, 2 users, load average: 0.20, 0.37, 0.36 ----------------------------------------------------------------- Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar' Centro de Telematica | DBA, Programador, Administrador Universidad Nacional del Litoral ----------------------------------------------------------------- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php