Docs: fix pg_wal_lsn_diff manual.
authorTatsuo Ishii <ishii@postgresql.org>
Sun, 7 Feb 2021 04:43:50 +0000 (13:43 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sun, 7 Feb 2021 04:43:50 +0000 (13:43 +0900)
commit04fd3eeba5be52369fa296fb001d1e52af6e166d
treebbecea69c4c7165cecb5e4e07d65352ba85d01c7
parented290896335414c6c069b9ccae1f3dcdd2fac6ba
Docs: fix pg_wal_lsn_diff manual.

The manual did not mention whether its return value is (first arg -
second arg) or (second arg - first arg). The order matters because the
return value could have a sign. Fix the manual so that it mentions the
function returns (first arg - second arg).

Patch reviewed by Tom Lane.

Back-patch through v13. Older version's doc format is difficult to add
more description.
Discussion: https://postgr.es/m/flat/20210206.151125.960423226279810864.t-ishii%40sraoss.co.jp
doc/src/sgml/func.sgml