Re: No error message set after executing a simple SELECT statement twice

"pisymbol ." <[email protected]> Tue, 26 Jan 2016 10:12:01 -0500
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <CAPpy_fFRO1Bekj5En+0cCwxrBL_P1dJM+ja0n_hqfbZQpyxVVg@mail.gmail.com>
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.

-aps