Fixes #5.
This shows our testing doesn't cover DDL as non-superuser properly.
202, 302, ...; etc. This is easily done with PostgreSQL's existing sequences,
but becomes a major problem if you don't allow enough room for growth - in
the above, if you have 101 nodes you're in serious trouble. It's also
- awkward, requiring node-specific DDL and setup.
+ awkward, requiring node-specific DDL and setup. See <xref
+ linkend="global-sequences-alternatives">.
</para>
<para>
COMMENT ON FUNCTION bdr.bdr_get_local_node_name()
IS 'Return the name from bdr.bdr_nodes for the local node, or null if no entry exists';
+-- See https://github.com/2ndQuadrant/bdr/issues/5
+ALTER FUNCTION bdr.queue_truncate()
+SECURITY DEFINER
+SET search_path = 'bdr';
+
RESET bdr.permit_unsafe_ddl_commands;
RESET bdr.skip_ddl_replication;
RESET search_path;