| From: | Steve Atkins <steve(at)blighty(dot)com> |
|---|---|
| To: | PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: triggers on prepare, commit, rollback... ? |
| Date: | 2008-05-20 06:01:36 |
| Message-ID: | A0422E28-92FF-4172-B523-F6C8C66EE96E@blighty.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On May 19, 2008, at 6:53 PM, Tom Lane wrote:
> Another response I've heard is "but I don't want to make
> inside-the-database changes, I want to propagate the state to
> someplace
> external". Of course that's completely broken too, because there is
> *absolutely no way* you will ever make such changes atomic with the
> inside-the-database transaction commit. We discourage people from
> making triggers cause outside-the-database side effects already ---
> it's not going to be better to do it in an "on commit" trigger.
Isn't this close to what NOTIFY is? An on-commit trigger that
causes only outside-the-database effects.
Cheers,
Steve
| From | Date | Subject | |
|---|---|---|---|
| Next Message | cinu | 2008-05-20 06:42:23 | Re: Installation of Postgres 32Bit on 64 bit machine |
| Previous Message | James Mansion | 2008-05-20 05:38:17 | Re: triggers on prepare, commit, rollback... ? |