bdr: add bdr_parse_slot_name and bdr_format_slot_name
authorCraig Ringer <craig@2ndquadrant.com>
Mon, 23 Mar 2015 09:04:38 +0000 (17:04 +0800)
committerCraig Ringer <craig@2ndquadrant.com>
Mon, 23 Mar 2015 09:04:38 +0000 (17:04 +0800)
commit6520f1407fa61b52c4a7971f5472bab8b7f42867
tree8580206160349b16c9a52759d22774425a02f6ae
parent9ad5b41c9beeae83bc36e096c599755b2c1f3c26
bdr: add bdr_parse_slot_name and bdr_format_slot_name

Provide SQL-callable functions wrapping existing internal
BDR helpers for parsing and formatting BDR slot names.

This allows users to associate a slot name in pg_replication_slots
with an entry in bdr.bdr_nodes or bdr.bdr_connections without
writing their own slot parsing code that might be buggy and/or
break with later changes.
Makefile.in
bdr.c
bdr.control
expected/identifier.out
expected/upgrade.out
extsql/bdr--0.9.0.2--0.9.0.3.sql [new file with mode: 0644]
sql/identifier.sql
sql/upgrade.sql