pgsql: Update oidjoins regression test for v13.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update oidjoins regression test for v13.
Date: 2020-05-09 17:05:15
Message-ID: E1jXSuZ-0001HW-C7@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update oidjoins regression test for v13.

We seem to have forgotten to do this in the v12 cycle, so add it as
a task in the RELEASE_CHANGES list, in hopes we won't forget again.

While here, fix findoidjoins.c so that it actually works in the
new dispensation where OID is a regular column, and change it to only
consider system relations (this avoids being fooled by the OID column
in the brintest test table).

Also tweak the largeobject test so that the somewhat-recently-added
manual creation of a LO with an OID in the system range doesn't
fool findoidjoins.c. For the moment I just made that use an unused
OID, but we might have to find a more robust solution someday.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6c298881c20797ac424558b9ff68d9781e03f6c4

Modified Files
--------------
src/test/regress/expected/oidjoins.out | 48 ++++++++++++++++++++++++++++
src/test/regress/input/largeobject.source | 4 +--
src/test/regress/output/largeobject.source | 6 ++--
src/test/regress/output/largeobject_1.source | 6 ++--
src/test/regress/sql/oidjoins.sql | 24 ++++++++++++++
src/tools/RELEASE_CHANGES | 2 ++
src/tools/findoidjoins/README | 7 ++++
src/tools/findoidjoins/findoidjoins.c | 18 +++++++----
8 files changed, 101 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2020-05-09 17:42:03 pgsql: Do no reset bounded before incremental sort rescan
Previous Message Fujii Masao 2020-05-09 03:24:42 pgsql: Prevent archive recovery from scanning non-existent WAL files.