DBD::Pg problem - Mailing list pgsql-general

From Ausrack Webmaster
Subject DBD::Pg problem
Date
Msg-id 000201c3b969$1cefad40$0100a8c0@jason
Whole thread Raw
Responses Re: DBD::Pg problem  (Martijn van Oosterhout <kleptog@svana.org>)
Re: DBD::Pg problem  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
Hi

I am trying to insert a simple email address into a text field,
and I get the below error:

DBD::Pg::st execute failed: ERROR:  pg_atoi: error in
"<support@somedomain.com>": can't parse "<support@somedomain.com>"

I figure it is because of the < and @ in the value, but why does it take
these as operators even
when the value has single quotes around it?
I have even tried binding the values and PG_TEXT beforehand and still
not luck.

Any help would be greatly appreciated.

Jason Frisch



pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: perl(Pg) (S)RPM
Next
From: Martijn van Oosterhout
Date:
Subject: Re: DBD::Pg problem