Support TRUNCATE triggers on foreign tables.

Fujii Masao <fujii@postgresql.org>

Commit: 3b00a944a9b3847fb02dae7c9ea62fe0b211b396
Author: Fujii Masao <fujii@postgresql.org>
Date: 2022-07-12T00:18:02Z
Releases: 16.0
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

Files

Documentation touched

Discussion