pgsql: Fix custom validators call in build_local_reloptions() - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Fix custom validators call in build_local_reloptions()
Date
Msg-id E1pqXwQ-004UcD-2R@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix custom validators call in build_local_reloptions()

We need to call them only when validate == true.

Backpatch to 13, where opclass options were introduced.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/2656633.1681831542%40sss.pgh.pa.us
Reviewed-by: Tom Lane, Pavel Borisov
Backpatch-through: 13

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/02191136cb25670dc9f086248f7b495d68c965d5

Modified Files
--------------
src/backend/access/common/reloptions.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Fix custom validators call in build_local_reloptions()
Next
From: Magnus Hagander
Date:
Subject: Re: pgsql: Import pg_bsd_indent sources.