README for src/backend/replication/logical

Started by Craig Ringeralmost 10 years ago3 messages
#1Craig Ringer
craig@2ndquadrant.com
1 attachment(s)

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

Attachments:

READMEapplication/octet-stream; name=READMEDownload
#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Craig Ringer (#1)
Re: README for src/backend/replication/logical

Craig Ringer wrote:

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 .

That's nice, but you attached the one in src/backend/replication
instead.

--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Craig Ringer
craig@2ndquadrant.com
In reply to: Alvaro Herrera (#2)
1 attachment(s)
Re: README for src/backend/replication/logical

On 23 March 2016 at 23:54, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:

Craig Ringer wrote:

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 .

That's nice, but you attached the one in src/backend/replication
instead.

Well, that was dumb. Lets try that again...

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

Attachments:

READMEapplication/octet-stream; name=READMEDownload