Hayato Kuroda (Fujitsu) <[email protected]> wrote: > 02. SnapBuildProcessRunningXacts > > Per my understanding, the db_specic snapshot can be also serialized. Is it > possibility tha normal logical decoding system restores the snapshot and > obtain > the wrong result?
I don't think that the database-specific xl_running_xacts WAL record affects what SnapBuildSerialize() writes to disk: the contents of builder->committed, etc. is updated by decoding COMMIT and ABORT records. On the other hand, with that kind of record, there's probably no reason to call SnapBuildSerialize(). Good catch, thanks. -- Antonin Houska Web: https://www.cybertec-postgresql.com
