From: Craig Ringer Date: Mon, 23 Mar 2015 03:43:42 +0000 (+0800) Subject: bdr: doc: Add stub docs for upgrade X-Git-Tag: bdr-plugin/0.9.0~27 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=da922b95ac1e9ecbd09cd83a52bd805c38898d7c;p=2ndquadrant_bdr.git bdr: doc: Add stub docs for upgrade Add skeletal upgrade docs with entry for bdr_upgrade_to_090. Also documents bdr_replicate_ddl_command --- diff --git a/doc/bdr.sgml b/doc/bdr.sgml index 60fea5ff5a..fe1b116db3 100644 --- a/doc/bdr.sgml +++ b/doc/bdr.sgml @@ -81,6 +81,7 @@ &manual-monitoring; &manual-settings; &manual-functions; + &manual-upgrade; diff --git a/doc/filelist.sgml b/doc/filelist.sgml index 6035229354..55fd9da2da 100644 --- a/doc/filelist.sgml +++ b/doc/filelist.sgml @@ -45,4 +45,5 @@ + diff --git a/doc/manual-functions.sgml b/doc/manual-functions.sgml index 992068f44c..399c40ed49 100644 --- a/doc/manual-functions.sgml +++ b/doc/manual-functions.sgml @@ -17,10 +17,11 @@ - Do not directly call functions with the suffix + Do not directly call functions with the prefix internal, they are intended for &bdr;'s internal use only and may lack sanity checks present in the public-facing - functions. Stick to using the functions documented here, others + functions and could break your replication setup. + Stick to using the functions documented here, others are subject to change without notice. @@ -134,6 +135,7 @@ bdr.bdr_apply_pause() + void Temporarily stop applying changes from remote nodes to the local node, until resume is requested with @@ -156,12 +158,30 @@ bdr.bdr_apply_resume() + void Resume replaying changes from peer nodes after replay has been paused by bdr.bdr_apply_pause(). + + &bdr; + + + bdr.bdr_replicate_ddl_command + + bdr.bdr_replicate_ddl_command(cmd text) + + void + + Execute the SQL (usually DDL) + cmd on the local node and queue it for + extension on all peer nodes. This function is mainly for &bdr; internal + use and bypasses some safety checks, use with caution. + + + @@ -472,4 +492,42 @@ + + Upgrade functions + + + The following function(s) are used when upgrading &bdr; to a new version: + + + Upgrade functions + + + + &udr;/&bdr; + Function + Return Type + Description + + + + + + &bdr; + + + bdr.bdr_upgrade_to_090 + + bdr.bdr_upgrade_to_090(my_conninfo cstring, local_conninfo cstring, remote_conninfo cstring) + + void + Used during upgrade from 0.7.x or 0.8.x to &bdr; version 0.9.x. See . + + + + +
+
+ +
+ diff --git a/doc/manual-upgrade.sgml b/doc/manual-upgrade.sgml new file mode 100644 index 0000000000..9765cc0ccb --- /dev/null +++ b/doc/manual-upgrade.sgml @@ -0,0 +1,15 @@ + + Upgrading &bdr; + + Upgrading BDR + + + + Documentation for the process of upgrading &bdr; from 0.7.x or 0.8.x to the current-at-time-of-writing 0.9.x release is currently under development. + + + + See also: . + + +