pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Convert debug message from ereport to elog
Date: Fri, 15 Jun 2018 00:24:15 -0400
Message-ID: <4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com> (raw)
In-Reply-To: <20180613.091354.212137329671150446.t-ishii@sraoss.co.jp>
References: <E1fSlLl-0001W4-Me@gemulon.postgresql.org>
	<20180613.091354.212137329671150446.t-ishii@sraoss.co.jp>

> Just out of curiosity, what is the reason why you did this?  I guess

This made a message consistent with an analogous message in
apply_handle_update() earlier in the file.

> using elog instead of ereport for debugging message is preferable,
> while for non debugging messages using ereport is preferable, but
> actually sometimes elog is used for error messages in the file.

I think this is not done perfectly consistently, and there are
possibilities for improvement.




view thread (5+ messages)  latest in thread

Message-ID: <4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com>
Permalink:  ../4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com/
Also on:    postgresql.org/message-id/4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, ishii@sraoss.co.jp
  Subject: Re: pgsql: Convert debug message from ereport to elog
  In-Reply-To: <4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com>
  References: <E1fSlLl-0001W4-Me@gemulon.postgresql.org> <20180613.091354.212137329671150446.t-ishii@sraoss.co.jp> <4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox