Initial commit

This commit is contained in:
postgres
2010-06-17 10:43:35 -05:00
commit a12e719259
17 changed files with 858 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/*
* repmgr_wrapper_function.sql
* Copyright (c) 2ndQuadrant, 2010
*
*/
CREATE FUNCTION get_last_xlog_replay_timestamp() RETURNS timestamp with time zone
AS 'MODULE_PATHNAME', 'last_xlog_replay_timestamp'
LANGUAGE C STRICT;
CREATE FUNCTION get_oldest_xmin() RETURNS bigint
AS 'MODULE_PATHNAME', 'oldest_xmin'
LANGUAGE C STRICT;