pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix custom validators call in build_local_reloptions()
Date: Sun, 23 Apr 2023 11:31:07 +0000
Message-ID: <E1pqXvu-004Uaj-Id@gemulon.postgresql.org> (raw)

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_15_STABLE

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

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



view thread (4+ messages)  latest in thread

Message-ID: <E1pqXvu-004Uaj-Id@gemulon.postgresql.org>
Permalink:  ../E1pqXvu-004Uaj-Id@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pqXvu-004Uaj-Id@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix custom validators call in build_local_reloptions()
  In-Reply-To: <E1pqXvu-004Uaj-Id@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