Warning messages appearing twice - Mailing list pgsql-hackers

From vignesh C
Subject Warning messages appearing twice
Date
Msg-id CALDaNm2MMj4iQQvVzsSnZ=WiZxEM-6=4UGD0JxsWO66twoOAug@mail.gmail.com
Whole thread Raw
Responses Re: Warning messages appearing twice  (Dilip Kumar <dilipbalaut@gmail.com>)
List 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 progress
WARNING:  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

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: pqParseInput3 overruns
Next
From: Dilip Kumar
Date:
Subject: Re: POC: Cleaning up orphaned files using undo logs