<filename>bdr-pg/</filename>, mainly
<filename>bdr-pg/REL9_4_STABLE</filename>. The extension is now tracked in
git branches prefixed with <filename>bdr-plugin/</filename>, mainly
- <filename>bdr-plugin/stable</filename> (last stable release)
+ <filename>bdr-plugin/RELX_Y_STABLE</filename> (stable releases)
and <filename>bdr-plugin/next</filename> (current development tree).
All branches share the same working repository.
</para>
<para>
The source for &bdr; is maintained at
- <ulink url="http://git.postgresql.org/gitweb/?p=2ndquadrant_bdr.git;a=tree;h=refs/heads/bdr-plugin/stable;hb=bdr-plugin/stable">
+ <ulink url="http://git.postgresql.org/gitweb/?p=2ndquadrant_bdr.git;a=tree;h=refs/heads/bdr-plugin/next;hb=bdr-plugin/next">
git.postgresql.org in the 2ndquadrant_bdr repository</ulink>. There are
actually two independent source trees in this repository - one tree for
the &bdr; plugin, and one for the modified version of PostgreSQL
&pgmajorversion; that it requires to run. At the time of writing the
main branches are:
<itemizedlist>
- <listitem><para><filename>bdr-plugin/stable</filename>:
- the current stable release of the &bdr; plugin</para></listitem>
+ <listitem><para><filename>bdr-plugin/RELX_Y_STABLE</filename>:
+ the stable releases of the &bdr; plugin (for example
+ <filename>bdr-plugin/REL0_9_STABLE</filename> is latest source of 0.9.x).</para></listitem>
<listitem><para><filename>bdr-plugin/next</filename>:
the in-progress development version of the &bdr; plugin</para></listitem>
<listitem><para><filename>bdr-pg/REL9_4_STABLE</filename>:
<para>
To clone the source code using <application>git</application> you will
need to run two clones, one for the &bdr; plugin sources and one for the
- patched PostgreSQL sources, e.g.:
+ patched PostgreSQL sources, e.g. (for the 0.9.x version of &bdr;):
<programlisting>
git clone -b bdr-pg/REL9_4_STABLE git://git.postgresql.org/git/2ndquadrant_bdr.git postgresql-bdr
- git clone -b bdr-plugin/stable git://git.postgresql.org/git/2ndquadrant_bdr.git bdr-plugin
+ git clone -b bdr-plugin/REL0_9_STABLE git://git.postgresql.org/git/2ndquadrant_bdr.git bdr-plugin
</programlisting>
</para>
system with valuable data on it.</emphasis>
To install the latest stable release, run:
<screen>
- <prompt>$</prompt> curl -s "http://git.postgresql.org/gitweb/?p=2ndquadrant_bdr.git;a=blob_plain;f=scripts/bdr_quickstart.sh;hb=bdr-plugin/next" | bash
+ <prompt>$</prompt> curl -s "http://git.postgresql.org/gitweb/?p=2ndquadrant_bdr.git;a=blob_plain;f=scripts/bdr_quickstart.sh;hb=bdr-plugin/REL0_9_STABLE" | bash
</screen>
For the latest development version, instead try
<screen>
FROM pg_catalog.pg_replication_slots s,
LATERAL bdr.bdr_parse_slot_name(s.slot_name) p
)
-SELECT orig = formatted
-FROM namepairs;
+SELECT 'fail'
+FROM namepairs
+WHERE orig <> formatted;
-- Check the view mapping slot names to bdr nodes. We can't really examine the slot
-- name in the regresschecks, because it changes every run, so make sure we at least