Re: pg_wal_lsn_diff

2021-02-06 Thread Tatsuo Ishii
>> I'd just fix HEAD and v13. The earlier branches are not friendly >> at all to long function descriptions. > > +1 from me. Pushed to HEAD and v13. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: pg_wal_lsn_diff

2021-02-06 Thread Tatsuo Ishii
> I'd just fix HEAD and v13. The earlier branches are not friendly > at all to long function descriptions. +1 from me. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: pg_wal_lsn_diff

2021-02-06 Thread Tom Lane
Tatsuo Ishii writes: > So do you think we should back-patch to existing stable branches? I'd just fix HEAD and v13. The earlier branches are not friendly at all to long function descriptions. regards, tom lane

Re: pg_wal_lsn_diff

2021-02-06 Thread Tatsuo Ishii
c/src/sgml/func.sgml @@ -25102,11 +25102,11 @@ SELECT collation for ('foo' COLLATE "de_DE"); pg_wal_lsn_diff -pg_wal_lsn_diff ( lsn pg_lsn, lsn pg_lsn ) +pg_wal_lsn_diff ( lsn1 pg_lsn, lsn2 pg_lsn ) numeric -

Re: pg_wal_lsn_diff

2021-02-06 Thread Tom Lane
Tatsuo Ishii writes: > According to the pg_wal_lsn_diff manual: > pg_wal_lsn_diff ( lsn pg_lsn, lsn pg_lsn ) $B"*(B numeric > Calculates the difference in bytes between two write-ahead log > locations. This can be used with pg_stat_replication or some of > th

pg_wal_lsn_diff

2021-02-05 Thread Tatsuo Ishii
According to the pg_wal_lsn_diff manual: pg_wal_lsn_diff ( lsn pg_lsn, lsn pg_lsn ) → numeric Calculates the difference in bytes between two write-ahead log locations. This can be used with pg_stat_replication or some of the functions shown in Table 9.87 to get the replication lag