Re: [PHP-DB] pg_result_error()

2003-12-12 Thread Martin Marques
El Vie 12 Dic 2003 11:19, Gerard Samuel escribió: > Im going to CC this to the PostgreSQL list also. > > On Friday 12 December 2003 06:44 am, Martin Marques wrote: > > El Vie 12 Dic 2003 00:09, Gerard Samuel escribió: > > > What good is this function? > > > A quick example of the wall Im running in

Re: [PHP-DB] pg_result_error()

2003-12-12 Thread Gerard Samuel
Im going to CC this to the PostgreSQL list also. On Friday 12 December 2003 06:44 am, Martin Marques wrote: > 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(

Re: [PHP-DB] pg_result_error()

2003-12-12 Thread Martin Marques
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: