Re: OSX Postgres PL/Perl Problem with Finance::Quote/Options

From: Vibhor Kumar <vibhor(dot)kumar(at)enterprisedb(dot)com>
To: Peter Pan <ganbaru83(at)hotmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: OSX Postgres PL/Perl Problem with Finance::Quote/Options
Date: 2011-03-29 21:31:29
Message-ID: 3DD3D128-0513-4B1E-820F-A4877BA44201@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mar 29, 2011, at 9:11 PM, Peter Pan wrote:

> I use two Perl modules Finance::Quote and Finance::QuoteOptions in a stored PL/Perl procedure which run without problems on a standard LINUX environment (currently in production on CentOS5). Unfortunately on OSX it seems not to be able to properly connect and retrieve the data from Yahoo.
>
> Using the same code in a local perl file (under db user) it works without problems, but fails in the stored procedure. I don't get any compilation errors during import or execution and also no exceptions while the code is executed. As mentioned, the same function works fine under Linux.
>
> Environment:
> - OSX 10.6.7
> - Postgres 9.0.2 (compiled from source / config options --with-openssl --with-perl --with-libraries=/opt/local/lib --with-includes=/opt/local/include / readline was installed via ports)
> - Perl 5.12.3 (compled from source under /usr/local/ linked via enviromentab le variables in .profile / config options ./configure.gnu -des -Duseshrplib --prefix=/usr/local/perl5)

Any Error Message?

Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor(dot)kumar(at)enterprisedb(dot)com
Blog:http://vibhork.blogspot.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vibhor Kumar 2011-03-29 21:41:33 Re: RPM for ODBC driver
Previous Message Vibhor Kumar 2011-03-29 21:29:21 Re: Curious case of the unstoppable user