]> granicus.if.org Git - postgresql/commit
Add min() and max() aggregates for pg_lsn
authorMichael Paquier <michael@paquier.xyz>
Fri, 5 Jul 2019 03:21:11 +0000 (12:21 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 5 Jul 2019 03:21:11 +0000 (12:21 +0900)
commit313f87a17155a6dbd27a3ce687cf59bd171fe75e
tree1130b22d811c49539eeb09ba8704c678f1a99938
parent8a810a177c80909b71e9fb3760a1d56ed988638a
Add min() and max() aggregates for pg_lsn

This is useful for monitoring, when it comes for example to calculations
of WAL retention with replication slots and delays with a set of
standbys.

Bump catalog version.

Author: Fabrízio de Royes Mello
Reviewed-by: Surafel Temesgen
Discussion: https://postgr.es/m/CAFcNs+oc8ZoHhowA4rR1GGCgG8QNgK_TOwPRVYQo5rYy8_PXzA@mail.gmail.com
doc/src/sgml/func.sgml
src/backend/utils/adt/pg_lsn.c
src/include/catalog/catversion.h
src/include/catalog/pg_aggregate.dat
src/include/catalog/pg_proc.dat
src/test/regress/expected/pg_lsn.out
src/test/regress/sql/pg_lsn.sql