Copy protocol 22 - #1
Open
cbbrowne wants to merge 8 commits into
Open
Conversation
1) Change the sl_log_N tables adding columns for the table schema and name; Add a special column for update actions, containing the number of updated columns for the SET clause; Change log_cmddata into log_cmdargs of type text[]. This includes a check script in the ./tools directory that can be used to verify that a cluster is completely caught up as well as the changes to upgradeSchema() to change the sl_log_N format during a Slony version upgrade. This worked for a 2.0 -> 2.2 upgrade. Still needs documentation of the upgrade procedure. 2) Adjust the log triggers to produce the new log format. 3) Remove the slon remote_worker code that updates the replicated user tables. The above changes broke that part anyway and this allows for an apply trigger to take over the work of applying data changes. extra) Added a PL/pgSQL implementation of the apply trigger. This results in a fully functional slony system again and acts as a proof of concept.
…nto copy-protocol-22 Conflicts: RELEASE
Collaborator
Author
|
Note, patch 7510458 resolves the problem that running UPDATE FUNCTIONS fails due to trying to add apply_trigger a second time. |
case it's missing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FYI, here's some cleanups that amount to opening up development on v2.2.
It includes a draft of release notes that includes our discussion of ~2 weeks ago about what needs to happen at upgrade time from 2.[^2] to 2.2.