RE: [Todo item] Add entry creation timestamp column to pg_stat_replication

From: "myungkyu(dot)lim" <myungkyu(dot)lim(at)samsung(dot)com>
To: "'Michael Paquier'" <michael(at)paquier(dot)xyz>
Cc: "'Masahiko Sawada'" <sawada(dot)mshk(at)gmail(dot)com>, "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org>, <woosung(dot)sohn(at)samsung(dot)com>, <don(dot)hong(at)samsung(dot)com>
Subject: RE: [Todo item] Add entry creation timestamp column to pg_stat_replication
Date: 2018-11-29 08:43:26
Message-ID: 00d401d487bf$98727c10$c9577430$@samsung.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>On Mon, Nov 26, 2018 at 02:48:39PM +0900, myungkyu.lim wrote:
>> So I selected 'reply_time' because 'timestamp' was not used in stat
>> field.
>
>Fine by me. Could you send a new patch please? I am switching the patch
as
>waiting on author for now.

Ok.
Changed field name 'last_msg_send_time' to 'reply_time'.
Attached new patch file : 0001-Implement-following-TODO-list-item-v4.patch

example>
postgres=# select pid, reply_time from pg_stat_replication;
-[ RECORD 1 ]-----------------------------
pid | 10493
reply_time | 2018-11-29 17:37:14.638428+09

check plz.

Best regards,
Myungkyu, Lim

Attachment Content-Type Size
0001-Implement-following-TODO-list-item-v4.patch application/octet-stream 7.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2018-11-29 08:47:09 [PATCH] Change "checkpoint starting" message to use "wal"
Previous Message Kato, Sho 2018-11-29 07:40:29 RE: Planning time of Generic plan for a table partitioned into a lot