From: | Michelle Murrain <mpm(at)norwottuck(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: DBD::Pg errstr method doesn't return full error messages |
Date: | 2001-05-03 20:49:15 |
Message-ID: | 01050316491501.01247@chicago.murrain.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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, at other times, I get just "7" as the error message rather than
> the full message, making error reporting just a bit confusing. ;-)
>
> Do you know of any issues with $dbh->errstr that could be causing
> this? Any workarounds I might try?
>
I had the same problem.
pmh(at)edison(dot)ioppublishing(dot)com had posted a patch to it which worked for me.
Sorry I deleted the original e-mail with the patch, but I can e-mail you the
patched source file if you'd like.
Michelle
--
------------
Michelle Murrain, Ph.D.
President
Norwottuck Technology Resources
mpm(at)norwottuck(dot)com
http://www.norwottuck.com
From | Date | Subject | |
---|---|---|---|
Next Message | Joel Burton | 2001-05-03 20:49:46 | RE: Unique or Primary Key? |
Previous Message | Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= | 2001-05-03 20:48:32 | Re: Ideal hardware configuration for pgsql |