Re: Notice lock waits - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Notice lock waits
Date
Msg-id CABOikdPPH0VUcQ9gO76yPz0_iXeeh=mFEfNL8QzJWvwtALAzqQ@mail.gmail.com
Whole thread Raw
In response to Notice lock waits  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers


On Fri, Aug 5, 2016 at 10:30 PM, Jeff Janes <jeff.janes@gmail.com> wrote:


A general facility for promoting selected LOG messages to NOTICE would
be nice, but I don't know how to design or implement that.  This is
much easier, and I find it quite useful.


IMHO that's what we need and it will benefit many more users instead of adding a new GUC every time.

FWIW I recently wrote a patch for Postgres-XL to do exactly this and I found it very useful, especially while debugging race conditions and problems with ongoing sessions. Sorry, I don't mean to hijack this thread, will post that patch as a separate thread.

Thanks,
Pavan

--
 Pavan Deolasee                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Ivan Kartyshov
Date:
Subject: Re: make async slave to wait for lsn to be replayed
Next
From: Amit Langote
Date:
Subject: Re: Declarative partitioning - another take