pgsql: Add test case exercising formerly-unreached code ininheritance_ - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add test case exercising formerly-unreached code ininheritance_
Date
Msg-id E1hAgS8-0003Hy-61@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add test case exercising formerly-unreached code in inheritance_planner.

There was some debate about whether the code I'd added to remap
AppendRelInfos obtained from the initial SELECT planning run is
actually necessary.  Add a test case demonstrating that it is.

Discussion: https://postgr.es/m/23831.1553873385@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8fba397f0ca7b9a1fd59ab2b676c057dde4f8219

Modified Files
--------------
src/test/regress/expected/updatable_views.out | 57 +++++++++++++++++++++++++++
src/test/regress/sql/updatable_views.sql      | 13 ++++++
2 files changed, 70 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Compute root->qual_security_level in a less random place.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Fix nbtree high key "continuescan" row compare bug.