]> granicus.if.org Git - postgresql/commit
Fix mark-and-restore-skipping test case to not be a self-join.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Feb 2019 23:55:29 +0000 (18:55 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Feb 2019 23:55:29 +0000 (18:55 -0500)
commit24d08f3c0a1f04ea8bac68eb3aa3b069680e43f5
treee28093102c984f49e739df8931b9f405fa40a78b
parent0c7d53793079a1af3f070d93e3eb86a52720f6e7
Fix mark-and-restore-skipping test case to not be a self-join.

There isn't any good reason for this test to be a self-join rather
than a join between separate tables, except that it saved a couple
of SQL commands for setup.  A proposed patch to optimize away
self-joins breaks the test, so adjust it to avoid that happening.

Discussion: https://postgr.es/m/64486b0b-0404-e39e-322d-0801154901f3@postgrespro.ru
src/test/regress/expected/join.out
src/test/regress/sql/join.sql