On Tue, Jan 26, 2016 at 10:12 AM, pisymbol . <[email protected]> wrote:
> On Mon, Jan 25, 2016 at 12:22 PM, pisymbol . <[email protected]> wrote:
>> DBD::Pg::st execute failed:  at somescript line 724, <$fref> line 8.
>> DBD::Pg::st execute failed:  at somescript line 724, <$fref> line 8.
>>  at somescript line 724
>>
>> I see no error message. I see nothing in $sth->errstr etc. I also see
>> no error message generated in my
>> /var/lib/pgsql/data/pg_log/postgresql-Mon.log log file well.
>
> Note: I took RaiseError off (0) and I now see $errstr and $err set to 7?
>
> If I reconnect to the database everything goes through. Very strange.

If anyone sees this, it's because the postgres DBD object went out of
scope and was disconnected underneath me (the script forks).

The fix was to simply use the "InactiveDestory => 1" as an option at
the time of dbconnect() as per the doc. Wow, that was painful.

-aps

Reply via email to