summaryrefslogtreecommitdiff
path: root/contrib/test_decoding
AgeCommit message (Collapse)Author
2014-03-31test_decoding: Update .gitignoreRobert Haas
Commit 7317d8d961f210c3a6b20972cd605bcd9bffb06e changed the set of things that need to be ignored, but neglected to update .gitignore.
2014-03-30Use separate output dirs for test_decoding's two runs.Andrew Dunstan
contrib/test_decoding's "make check" runs two sets of tests. Unless we specify separate output directories for each set the isolation tests will overwrite the output from the normal regression set. Doing this will help the buildfarm collect complete logs.
2014-03-29psql: display "Replica Identity" only for FULL and NOTHINGBruce Momjian
INDEX is already displayed on the index, and we now exclude pg_catalog. DEFAULT is not displayed.
2014-03-29Force consistent row order in contrib/test_decoding regression test.Noah Misch
2014-03-27contrib/test_decoding: adjust expected outputBruce Momjian
Expected output has changed because of psql replica identity output changes. Reported by Christoph Berg
2014-03-12Comment fixes related to logical decoding.Robert Haas
Andres Freund, per complaints by Peter Eisentraut.
2014-03-07Remove unportable use of anonymous unions from reorderbuffer.h.Tom Lane
In b89e151054a I had assumed it was ok to use anonymous unions as struct members, but while a longstanding extension in many compilers, it's only been standardized in C11. To fix, remove one of the anonymous unions which tried to hide some implementation specific enum values and give the other a name. The latter unfortunately requires changes in output plugins, but since the feature has only been added a few days ago... Andres Freund
2014-03-05Fix test_decoding regression test outputs.Robert Haas
Commit 6f37c08057685ee3c6c63222dba0dac012760dde removed whitespace from the SQL file but not the expected-output file, and commit 7e8db2dc420099df3fa73987cf2d2d6d1a609d86 changed the error message without updating the expected outputs.
2014-03-04Fix whitespacePeter Eisentraut
2014-03-03Introduce logical decoding.Robert Haas
This feature, building on previous commits, allows the write-ahead log stream to be decoded into a series of logical changes; that is, inserts, updates, and deletes and the transactions which contain them. It is capable of handling decoding even across changes to the schema of the effected tables. The output format is controlled by a so-called "output plugin"; an example is included. To make use of this in a real replication system, the output plugin will need to be modified to produce output in the format appropriate to that system, and to perform filtering. Currently, information can be extracted from the logical decoding system only via SQL; future commits will add the ability to stream changes via walsender. Andres Freund, with review and other contributions from many other people, including Álvaro Herrera, Abhijit Menon-Sen, Peter Gheogegan, Kevin Grittner, Robert Haas, Heikki Linnakangas, Fujii Masao, Abhijit Menon-Sen, Michael Paquier, Simon Riggs, Craig Ringer, and Steve Singer.