Add function pg_xlog_location_diff to help comparisons
Magnus Hagander <magnus@hagander.net>
Add function pg_xlog_location_diff to help comparisons Comparing two xlog locations are useful for example when calculating replication lag. Euler Taveira de Oliveira, reviewed by Fujii Masao, and some cleanups from me
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +19 −1 |
| src/backend/access/transam/xlogfuncs.c | modified | +90 −0 |
| src/include/access/xlog_internal.h | modified | +1 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +3 −0 |