pgsql: Add test case exercising formerly-unreached code in inheritance_

Started by Tom Laneover 7 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(+)