pgsql: Update oidjoins regression test for v13. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Update oidjoins regression test for v13.
Date
Msg-id E1jXSuZ-0001HW-C7@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Prevent archive recovery from scanning non-existent WAL files.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Do no reset bounded before incremental sort rescan