pgsql: Support TRUNCATE triggers on foreign tables.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support TRUNCATE triggers on foreign tables.
Date: 2022-07-12 00:19:16
Message-ID: E1oB3cR-002Lxl-9B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Support TRUNCATE triggers on foreign tables.

Now some foreign data wrappers support TRUNCATE command.
So it's useful to support TRUNCATE triggers on foreign tables for
audit logging or for preventing undesired truncation.

Author: Yugo Nagata
Reviewed-by: Fujii Masao, Ian Lawrence Barwick
Discussion: https://postgr.es/m/20220630193848.5b02e0d6076b86617a915682@sraoss.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b00a944a9b3847fb02dae7c9ea62fe0b211b396

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 9 ++++++---
contrib/postgres_fdw/sql/postgres_fdw.sql | 5 +++--
doc/src/sgml/ref/create_trigger.sgml | 4 ++--
src/backend/commands/trigger.c | 7 -------
4 files changed, 11 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2022-07-12 00:43:19 Re: pgsql: Build de-escaped JSON strings in larger chunks during lexing
Previous Message Thomas Munro 2022-07-11 23:14:39 pgsql: Doc: Acknowledge historically supported CPUs and OSes.