pgsql: Prohibit transition tables on views and foreign tables.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prohibit transition tables on views and foreign tables.
Date: 2017-05-10 03:35:15
Message-ID: E1d8IPD-0004ik-PG@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Prohibit transition tables on views and foreign tables.

Thomas Munro, per off-list report from Prabhat Sabu. Changes
to the message wording for consistency with the existing
relkind check for partitioned tables by me.

Discussion: http://postgr.es/m/CAEepm=2xJFFpGM+N=gpWx-9Nft2q1oaFZX07_y23AHCrJQLt0g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9e6104c6672dc948a430d1ee269b0c31bf5bc974

Modified Files
--------------
src/backend/commands/trigger.c | 14 ++++++++++++++
src/test/regress/expected/foreign_data.out | 7 +++++++
src/test/regress/expected/triggers.out | 15 +++++++++++++++
src/test/regress/sql/foreign_data.sql | 6 ++++++
src/test/regress/sql/triggers.sql | 15 +++++++++++++++
5 files changed, 57 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-05-10 03:43:45 pgsql: Fix typos in comments.
Previous Message Robert Haas 2017-05-10 03:26:32 pgsql: Don't permit transition tables with TRUNCATE triggers.