pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix mark-and-restore-skipping test case to not be a self-join.
Date: Thu, 21 Feb 2019 23:55:35 +0000
Message-ID: <E1gwyBj-0007N3-Tw@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/24d08f3c0a1f04ea8bac68eb3aa3b069680e43f5

Modified Files
--------------
src/test/regress/expected/join.out | 20 ++++++++++++--------
src/test/regress/sql/join.sql      | 15 ++++++++++-----
2 files changed, 22 insertions(+), 13 deletions(-)



Message-ID: <E1gwyBj-0007N3-Tw@gemulon.postgresql.org>
Permalink:  ../E1gwyBj-0007N3-Tw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gwyBj-0007N3-Tw@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix mark-and-restore-skipping test case to not be a self-join.
  In-Reply-To: <E1gwyBj-0007N3-Tw@gemulon.postgresql.org>
  References: <E1gwyBj-0007N3-Tw@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox