From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Enhance pg_stat_wal_receiver view to display connected host |
Date: | 2018-01-04 12:24:14 |
Message-ID: | 20180104122414.GC5470@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jan 04, 2018 at 05:21:02PM +1100, Haribabu Kommi wrote:
> On Thu, Jan 4, 2018 at 11:53 AM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
> wrote:
>
> > On Wed, Jan 03, 2018 at 06:48:07PM +1100, Haribabu Kommi wrote:
> > > On Wed, Jan 3, 2018 at 12:25 PM, Haribabu Kommi <
> > kommi(dot)haribabu(at)gmail(dot)com>
> > > Last patch has undefined symbol, corrected patch attached.
> >
>
> Thanks for the review.
Almost there.
Sorry, I have just noticed that the comment on top of
libpqrcv_get_conninfo() needs a refresh. With your patch more
information than a siple connection string are returned to the caller.
Some initialization of the return values should happen directly inside
walrcv_get_conninfo(), or get the feeling that we'll be trapped in the
future if this gets called somewhere else.
[nit]
+ <entry>
+ port number of the <productname>PostgreSQL</productname> instance
+ this WAL receiver is connected to.
+ </entry>
Missing an upper case at the beginning of the sentence here.
[/nit]
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-01-04 12:29:25 | Re: Deadlock in multiple CIC. |
Previous Message | Pavan Deolasee | 2018-01-04 11:55:45 | Re: Faster inserts with mostly-monotonically increasing values |