Re: Warning messages appearing twice

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Warning messages appearing twice
Date: 2019-07-26 05:58:17
Message-ID: CALDaNm0aPWtemSTbbkjOaR1oO_DWpgv-ur8t5-3utC8XhoG8cA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 26, 2019 at 11:23 AM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:

> On Fri, Jul 26, 2019 at 11:04 AM vignesh C <vignesh21(at)gmail(dot)com> wrote:
> >
> > 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.
>
> Seems like you are seeing one message from the client and the other
> one from the server log as you have not enabled the logging collector
> the WARNING is printed on your console.
>
>
Thanks for the clarification Dilip. <http://www.enterprisedb.com>

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matsumura, Ryo 2019-07-26 06:20:00 RE: [Patch] PQconnectPoll() is blocked if target_session_attrs is read-write
Previous Message Dilip Kumar 2019-07-26 05:53:26 Re: Warning messages appearing twice