Warning messages appearing twice

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Warning messages appearing twice
Date: 2019-07-26 05:33:40
Message-ID: CALDaNm2MMj4iQQvVzsSnZ=WiZxEM-6=4UGD0JxsWO66twoOAug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I have noticed in some cases the warning messages appear twice, one such
instance is given below:
postgres=# begin;
BEGIN
postgres=# prepare transaction 't1';
PREPARE TRANSACTION
postgres=# rollback;

*WARNING: there is no transaction in progressWARNING: there is no
transaction in progress*
ROLLBACK

However if logging is enabled, the warning message appears only once.

I'm not sure if this is already known.
I'm not sure if this is widely used scenario or not.

Regards,
Vignesh
EnterpriseDB: http://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2019-07-26 05:43:36 Re: POC: Cleaning up orphaned files using undo logs
Previous Message Kyotaro Horiguchi 2019-07-26 04:18:01 pqParseInput3 overruns