mirror of
https://github.com/zerotier/pg_consul.git
synced 2026-05-22 16:22:07 -07:00
3f2f77d3fe
This had drifted. In the previous commit I inserted the ping check at number 100. Hindsight: should have added that as 140 and renamed it in a followup commit.
10 lines
375 B
SQL
10 lines
375 B
SQL
-- Make sure the module is loaded.
|
|
-- FIXME(seanc@): this is broken. Why do I have to call the function to
|
|
-- initialize the shared object? Something's broken here that I don't
|
|
-- understand yet and the oversight isn't jumping out at me. Moving on, but
|
|
-- marking this as a bug.
|
|
SELECT consul_agent_ping();
|
|
|
|
-- PASS: Find the current leader
|
|
SELECT consul_status_leader();
|