pgsql: Add a regression test for allow_system_table_mods

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add a regression test for allow_system_table_mods
Date: 2019-11-29 09:24:47
Message-ID: E1iacW7-0003h6-6U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add a regression test for allow_system_table_mods

Add a regression test file that exercises the kinds of commands that
allow_system_table_mods allows.

This is put in the "unsafe_tests" suite, so it won't accidentally
create a mess if someone runs the normal regression tests against an
instance that they care about.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/8b00ea5e-28a7-88ba-e848-21528b632354%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7fc380f83d466b43a8f65bb52c925c1ab19736ea

Modified Files
--------------
src/test/modules/unsafe_tests/Makefile | 2 +-
.../unsafe_tests/expected/alter_system_table.out | 168 +++++++++++++++++++
.../unsafe_tests/sql/alter_system_table.sql | 185 +++++++++++++++++++++
src/test/regress/expected/alter_table.out | 4 -
src/test/regress/sql/alter_table.sql | 4 -
5 files changed, 354 insertions(+), 9 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2019-11-29 09:54:12 Re: pgsql: Add tests for '-f' option in dropdb utility.
Previous Message Peter Eisentraut 2019-11-29 08:26:30 pgsql: Add error position to an error message