"David Flegl" <ml_flegl(at)centrum(dot)cz> writes:
> Or anyone has other possible solution how to solve this problem? Generaly: on specified tables I need to know (inside PostgreSQL, not seeing log files in system) which command user run. This is because of I need to made of very simplified asynchronnous multimaster replication (better say synchronization).
I can pretty much guarantee that whatever you're building won't work.
There's no such thing as simple multimaster replication.
You'd be much better off to look into adopting one of the existing
solutions that someone else has already written and debugged.
regards, tom lane