COMMIT notification
COMMIT notification
От:
Viacheslav N Tararin <taras@dekasoft.com.ua>
Дата:
Hi. How I can get notification inside database about transaction commiting? Or where I can modify PgSQL sources for insert this notification? Thanks.
Re: COMMIT notification
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Viacheslav N Tararin writes: > How I can get notification inside database about transaction commiting? Um ... what entity, exactly, are you desiring to notify? The LISTEN/NOTIFY mechanism might work for this. Or not. I'm not sure what you need to do. regards, tom lane
Re: COMMIT notification
От:
Viacheslav N Tararin <taras@dekasoft.com.ua>
Дата:
Tom Lane пишет: >Viacheslav N Tararin writes: > > >>How I can get notification inside database about transaction commiting? >> >> > >Um ... what entity, exactly, are you desiring to notify? The >LISTEN/NOTIFY mechanism might work for this. Or not. I'm not sure >what you need to do. > > I need to send in my MOM information about fixed transaction. NOTIFY work, message will send on statement execution, but transaction may be rolledback later. Can I tune NOTIFICATION engine to delay messages until transaction commit and discard notification when rollback? Thanks