Re: pre-commit triggers

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Hannu Krosing <hannu(at)2ndQuadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pre-commit triggers
Date: 2013-11-17 15:20:01
Message-ID: 20131117152001.GC6220@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing wrote:

> So it would send a network message, a signal or writing something to
> external file.

If you're OK with a C function, you could try registering a callback,
see RegisterXactCallback().

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2013-11-17 16:43:26 Re: pre-commit triggers
Previous Message Marko Kreen 2013-11-17 12:01:32 Re: appendPQExpBufferVA vs appendStringInfoVA