Re: [GENERAL] DBD::Pg errstr method doesn't return full error messages

2001-05-03 Thread Michelle Murrain
On Thursday 03 May 2001 03:24 pm, Vivek Khera wrote: > > where $msgid and $url are the same values above, I get this output: > > ERROR: Cannot i > > This makes it a bit difficult to distinguish between a hard error and > simply a duplicate insert error, which I can handle in this app. > > Also, a

[GENERAL] DBD::Pg errstr method doesn't return full error messages

2001-05-03 Thread Vivek Khera
Hi, I'm using DBD::Pg version 0.98 with Postgres 7.1. I'm noticing that quite often on an error, the $dbh->errstr method doesn't return the full error. For example, if I have a table with a unique key constraint: CREATE TABLE urls ( url_id SERIAL PRIMARY KEY, msg_id integer NOT NULL REFEREN