[PATCH 6/8] Log enough data into the wal to reconstruct logical changes from it if wal_level=logical
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: Andres Freund <andres@2ndquadrant.com>, pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>, Kevin Grittner <Kevin.Grittner@wicourts.gov>, Alvaro Herrera <alvherre@2ndquadrant.com>, Simon Riggs <simon@2ndquadrant.com>
Date: 2012-09-15T00:39:33Z
Lists: pgsql-hackers
Attachments
- 0006-Log-enough-data-into-the-wal-to-reconstruct-logical-.patch (text/x-patch) patch 0006
This adds a new wal_level value 'logical' Missing cases: - heap_multi_insert - primary key changes for updates - no primary key - LOG_NEWPAGE --- src/backend/access/heap/heapam.c | 135 +++++++++++++++++++++++++++++--- src/backend/access/transam/xlog.c | 1 + src/backend/catalog/index.c | 74 +++++++++++++++++ src/bin/pg_controldata/pg_controldata.c | 2 + src/include/access/xlog.h | 3 +- src/include/catalog/index.h | 4 + 6 files changed, 207 insertions(+), 12 deletions(-)
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Move "hot" members of PGPROC into a separate PGXACT array.
- ed0b409d2234 9.2.0 cited