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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add test case exercising formerly-unreached code in inheritance_
Date: 2019-03-31 19:49:12
Message-ID: E1hAgS8-0003Hy-61@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2019-04-01 00:27:29 pgsql: Fix nbtree high key "continuescan" row compare bug.
Previous Message Tom Lane 2019-03-31 17:47:49 pgsql: Compute root->qual_security_level in a less random place.