Re: [PHP] PHP, exception and PostgreSQL

2005-02-07 Thread Richard Lynch
Konference wrote: > is here somebody who works with PostgreSQL in PHP? Yes. :-) > I have a PL/SQL > function, which can raise an exception. I am not able to catch _only_ > exception error message in PHP. I can parse "Warning: pg_query(): > Query failed: ERROR: Exception error string. in..." but I

[PHP] PHP, exception and PostgreSQL

2005-02-07 Thread Konference
Hello, is here somebody who works with PostgreSQL in PHP? I have a PL/SQL function, which can raise an exception. I am not able to catch _only_ exception error message in PHP. I can parse "Warning: pg_query(): Query failed: ERROR: Exception error string. in..." but I think, it is not "clear" solut