Re: [PATCH] session_replication_role = replica with TRUNCATE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Marco Nenciarini <marco(dot)nenciarini(at)2ndquadrant(dot)it>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] session_replication_role = replica with TRUNCATE
Date: 2018-01-18 17:41:05
Message-ID: 8131.1516297265@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> So I'm proposing the attached alternative patch, which creates
> constraint triggers to be TRIGGER_FIRES_ALWAYS by default.
> Thoughts?

Hm, the general idea seems attractive, but I'm not sure we want
this behavioral change for user-created triggers. Can we make it
happen like that only for RI triggers specifically? If not, there's
at least some missing doco changes here.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marina Polyakova 2018-01-18 17:41:37 Re: master make check fails on Solaris 10
Previous Message Tom Lane 2018-01-18 17:34:35 Re: master make check fails on Solaris 10