pgsql: Make more stable regression tests of dummy_index_am for string v

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make more stable regression tests of dummy_index_am for string v
Date: 2019-09-25 03:48:53
Message-ID: E1iCyIP-0001YN-NQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make more stable regression tests of dummy_index_am for string validations

Several buildfarm members (crake, loach and spurfowl) are complaining
about two queries looking up at pg_class.reloptions which trigger the
validation routines for string reloptions with default values. This
commit limits the routines to be triggered only when building an index
with all custom options set in CREATE INDEX, which is sufficient for the
coverage.

Introduced by 640c198.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e0afac124ec7026a49909436ebcfc2bd999852a8

Modified Files
--------------
src/test/modules/dummy_index_am/expected/reloptions.out | 8 ++++++--
src/test/modules/dummy_index_am/sql/reloptions.sql | 10 +++++++---
2 files changed, 13 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-09-25 04:46:13 pgsql: Doc: Fix example related to partition pruning
Previous Message Michael Paquier 2019-09-25 03:12:31 pgsql: Add dummy_index_am to src/test/modules/