pgsql: Fix custom validators call in build_local_reloptions()

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Fix custom validators call in build_local_reloptions()
Дата
Msg-id E1pqXvP-004UZs-99@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

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

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: doc: add transaction processing chapter with internals info
Следующее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Validate ltree siglen GiST option to be int-aligned