table -> after trigger (U/I/D) -> eval quals -> write out (old_ctid, new_ctid, table_name, timestamp) to stg
client process collects from stg
table only one table_name
selecting old_ctid
and new_ctid
for each
Created
May 2, 2018 16:20
-
-
Save matthew-n/597bf4907b8f713b1224e0ad5efb6069 to your computer and use it in GitHub Desktop.
idea for implementing changefeeds in postgresql
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/sagemathinc/cocalc/blob/master/src/smc-hub/postgres-synctable.coffee