Skip site navigation (1) Skip section navigation (2)

pgsql: Add function pg_xlog_location_diff to help comparisons

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add function pg_xlog_location_diff to help comparisons
Date: 2012-03-04 11:27:03
Message-ID: E1S49ah-0001Y8-Py@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bc5ac3686580079bd4ea26bf027178786d77a9ee

Modified Files
--------------
doc/src/sgml/func.sgml                 |   20 +++++++-
src/backend/access/transam/xlogfuncs.c |   90 ++++++++++++++++++++++++++++++++
src/include/access/xlog_internal.h     |    1 +
src/include/catalog/catversion.h       |    2 +-
src/include/catalog/pg_proc.h          |    3 +
5 files changed, 114 insertions(+), 2 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-03-04 20:40:44
Subject: pgsql: Improve histogram-filling loop in new compute_array_stats()code
Previous:From: Tom LaneDate: 2012-03-04 01:21:19
Subject: pgsql: Collect and use element-frequency statistics for arrays.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group