README for src/backend/replication/logical - Mailing list pgsql-hackers

From Craig Ringer
Subject README for src/backend/replication/logical
Date
Msg-id CAMsr+YFXD=5uv13ELKBGF7ti-fe0AeujBCowq1_5g=nBN8Kbig@mail.gmail.com
Whole thread Raw
Responses Re: README for src/backend/replication/logical  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hi all

As part of some internal training/discussion I wrote some notes on logical decoding's structure and flow that seemed worth polishing up into a draft README for src/backend/replication/logical .

When learning this code I found that while the individual pieces are documented it's pretty hard to understand how it all fits together, what the data flow is, etc. Maybe this'll help the next guy.

CC'ing Andres so he can tell me how utterly wrong it all is ;)

I included an explanation of LSNs in the README because it's important to understand them from the perspective of xlog decoding and logical replication. It's not really the right place so I'd be happier pointing to a comment somewhere appropriately placed instead. Same with xlog records. The rest is pretty specific to the area of interest.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Support for N synchronous standby servers - take 2
Next
From: Ashutosh Bapat
Date:
Subject: Re: Odd system-column handling in postgres_fdw join pushdown patch