forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb89e151
committed
Introduce logical decoding.
This feature, building on previous commits, allows the write-ahead logstream 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 schemaof the effected tables. The output format is controlled by aso-called "output plugin"; an example is included. To make use ofthis in a real replication system, the output plugin will need to bemodified to produce output in the format appropriate to that system,and to perform filtering.Currently, information can be extracted from the logical decodingsystem only via SQL; future commits will add the ability to streamchanges via walsender.Andres Freund, with review and other contributions from many otherpeople, including Álvaro Herrera, Abhijit Menon-Sen, Peter Gheogegan,Kevin Grittner, Robert Haas, Heikki Linnakangas, Fujii Masao, AbhijitMenon-Sen, Michael Paquier, Simon Riggs, Craig Ringer, and SteveSinger.1 parentde94b47 commitb89e151
File tree
89 files changed
+12997
-193
lines changed- contrib
- test_decoding
- expected
- specs
- sql
- doc/src/sgml
- src
- backend
- access
- heap
- index
- rmgrdesc
- transam
- catalog
- commands
- executor
- replication
- logical
- storage
- ipc
- lmgr
- tcop
- utils
- cache
- time
- bin/initdb
- include
- access
- catalog
- commands
- replication
- storage
- utils
- test/regress/expected
- tools/pgindent
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
89 files changed
+12997
-193
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 69 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + |
Lines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + |
0 commit comments
Comments
(0)