geektron has asked for the wisdom of the Perl Monks concerning the following question:
[Tue Apr 6 15:37:04 2004] NewUser.cgi: DBD::Pg::st execute failed: ER +ROR: pg_atoi: zero-length string at /usr/lib/perl5/site_perl/5.8.0/D +BIx/Broker.pm line 575. [Tue Apr 6 15:37:04 2004] NewUser.cgi: Error executing run mode 'real +ly_pay': Cannot execute statement (error 7): ERROR: pg_atoi: zero-le +ngth string
i already tried a quick-hack fix in DBIx::Broker to set values to NULL if the string val in the array was empty. but that's an ugly bandaid, and i need to fix it RIGHT.
none of the postgres client libs are on the machine in question. IIRC, the client libs need to be there ( even if the client isn't explicitly installed ) for the install process to complete. the DB's on one machine, the web app's on another. pretty standard.
so what strategy have others used to get around this? upgrading DBD::Pg is needed anyway; i don't know if it will explicitly fix the issue, but it's a good move in the right direction.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: upgrading DBD::Pg without client libs
by jfroebe (Parson) on Apr 07, 2004 at 21:56 UTC | |
|
Re: upgrading DBD::Pg without client libs
by iburrell (Chaplain) on Apr 07, 2004 at 22:07 UTC | |
by jfroebe (Parson) on Apr 08, 2004 at 01:35 UTC | |
by geektron (Curate) on Apr 08, 2004 at 04:47 UTC |