On 2019-Apr-24, Paul Guo wrote:
> On Wed, Apr 24, 2019 at 12:49 PM Andres Freund <andres@anarazel.de> wrote:
> > This seems like a bad idea to me. IMO we want to support using a pipe
> > etc here. If the admin creates a fifo like this without attaching a
> > program it seems like it's their fault.
>
> Oh, I never know this application scenario before. So yes, for this, we
> need to keep the current code logic in copy code.
But the pgstat.c patch seems reasonable to me.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services