Re: Enhance pg_stat_wal_receiver view to display connected host - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Enhance pg_stat_wal_receiver view to display connected host
Date
Msg-id 20180104115437.guce5pt3vd3id65c@alvherre.pgsql
Whole thread Raw
In response to Re: Enhance pg_stat_wal_receiver view to display connected host  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: Enhance pg_stat_wal_receiver view to display connected host
List pgsql-hackers
I think more attention should be given to the libpq side of this patch;
maybe have a 0001 with only the new libpq function, to easily verify
that it does all it needs to do.  It needs docs for the new function in
libpq.sgml; also I wonder if checking conn->status before reporting
values is necessary; finally, has the application any good way to check
that the values can be safely read after calling the new function?

Nit: the new libpq function name is not great with all those lowercase
letters.  Better to make it camelCase like the rest of the libpq API?

Thanks for the patch,

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [PATCH] Logical decoding of TRUNCATE
Next
From: Pavan Deolasee
Date:
Subject: Re: Faster inserts with mostly-monotonically increasing values