placeholder code for function

This commit is contained in:
Ian Barwick
2017-06-27 09:50:47 +09:00
parent 78a16d746d
commit 35b6178e07
3 changed files with 18 additions and 0 deletions

View File

@@ -34,3 +34,6 @@ CREATE VIEW show_nodes AS
LEFT JOIN nodes un
ON un.node_id = n.upstream_node_id;
CREATE FUNCTION request_vote(int) RETURNS boolean
AS '$libdir/repmgr', 'request_vote'
LANGUAGE C STRICT;