mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
Per GitHub #282 Ref: https://anonscm.debian.org/cgit/pkg-postgresql/repmgr.git/tree/debian/patches/regress.patch
19 lines
698 B
Plaintext
19 lines
698 B
Plaintext
/*
|
|
* repmgr_function.sql
|
|
* Copyright (c) 2ndQuadrant, 2010-2017
|
|
*
|
|
*/
|
|
-- SET SEARCH_PATH TO 'repmgr';
|
|
CREATE FUNCTION repmgr_update_standby_location(text) RETURNS boolean
|
|
AS '$libdir/repmgr_funcs', 'repmgr_update_standby_location'
|
|
LANGUAGE C STRICT;
|
|
CREATE FUNCTION repmgr_get_last_standby_location() RETURNS text
|
|
AS '$libdir/repmgr_funcs', 'repmgr_get_last_standby_location'
|
|
LANGUAGE C STRICT;
|
|
CREATE FUNCTION repmgr_update_last_updated() RETURNS TIMESTAMP WITH TIME ZONE
|
|
AS '$libdir/repmgr_funcs', 'repmgr_update_last_updated'
|
|
LANGUAGE C STRICT;
|
|
CREATE FUNCTION repmgr_get_last_updated() RETURNS TIMESTAMP WITH TIME ZONE
|
|
AS '$libdir/repmgr_funcs', 'repmgr_get_last_updated'
|
|
LANGUAGE C STRICT;
|