Explicitly disallow createEvent and data changes in the same transaction.
authorSteve Singer <ssinger@ca.afilias.info>
Sun, 26 Mar 2017 16:54:46 +0000 (12:54 -0400)
committerSteve Singer <ssinger@ca.afilias.info>
Sun, 26 Mar 2017 16:54:46 +0000 (12:54 -0400)
commit9a4a56c39ba2a95592c74a49527bd8fca1da9e7d
tree7b90bcc6d5cc7ba6411b044f4e753d02c084f67b
parent56fb60d9d54d0cbf8313962b9d3bffd6f8cf4352
Explicitly disallow createEvent and data changes in the same transaction.

The same transaction should not have both a row in sl_event and log data
to sl_log_1 or sl_log_2 with the logTrigger.  This is not something slonik
would ever do, and the data changes that the logTrigger logs might not get
replicated as part of the event processing(ie for many non SYNC events).
it is also unclear what order the data should be applied in with respect to
the actions of the non-SYNC event.
src/backend/slony1_funcs.c