-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Relation messages contains schema information. Basically, relation messages says "The changes I sent you now (INSERT, UPDATE, DELETE) belong to the table with this name, this OID (Object Identifier) and these columns".
This message is not sent after every (INSERT, UPDATE, DELETE) operation. If, table has a first time operation or any relation definition change, protocol sends this.
For example Update message, in the protocol level
If table has a first update,
B -> begin byte
R -> relation byte
U -> update byte
C -> commit byte
same table has a second update
B -> begin byte
U -> update byte
C -> commit byte.
We already handle these messages in go-pq-cdc but we not exposed here. We can easily achieve this.
Metadata
Metadata
Assignees
Labels
No labels