Files

21 lines
1.5 KiB
Plaintext

### REPLICA IDENTITY DEFAULT: update and delete of order 4
p=2 op=c key={"id":4} lsn=30441152 txId=779 snapshot=false before=null after={"id":4,"customer":"dev","status":"NEW","amount_cents":500}
p=2 op=u key={"id":4} lsn=30441344 txId=780 snapshot=false before=null after={"id":4,"customer":"dev","status":"PAID","amount_cents":500}
p=2 op=d key={"id":4} lsn=30441512 txId=781 snapshot=false before={"id":4,"customer":"","status":"","amount_cents":0} after=null
p=2 key={"id":4} TOMBSTONE (null value)
### Switch the table to REPLICA IDENTITY FULL
relname | relreplident
---------+--------------
orders | f
(1 row)
### Same three statements for order 5
p=2 op=c key={"id":5} lsn=30442128 txId=783 snapshot=false before=null after={"id":5,"customer":"kiran","status":"NEW","amount_cents":700}
p=2 op=u key={"id":5} lsn=30442320 txId=784 snapshot=false before={"id":5,"customer":"kiran","status":"NEW","amount_cents":700} after={"id":5,"customer":"kiran","status":"PAID","amount_cents":700}
p=2 op=d key={"id":5} lsn=30442488 txId=785 snapshot=false before={"id":5,"customer":"kiran","status":"PAID","amount_cents":700} after=null
p=2 key={"id":5} TOMBSTONE (null value)
### Add a column while the connector is running; the next event carries it, no restart needed
p=0 op=u key={"id":1} lsn=30454520 txId=787 snapshot=false before={"id":1,"customer":"asha","status":"NEW","amount_cents":1500,"note":null} after={"id":1,"customer":"asha","status":"NEW","amount_cents":1500,"note":"gift wrap"}