Обсуждение: pgsql: Fix operator naming in pg_trgm GUC option descriptions

Поиск
Список
Период
Сортировка

pgsql: Fix operator naming in pg_trgm GUC option descriptions

От
Alexander Korotkov
Дата:
Fix operator naming in pg_trgm GUC option descriptions

Descriptions of pg_trgm GUC options have % replaced with %% like it was
a printf-like format.  But that's not needed since they are just plain strings.
This commit fixed that.  Backpatch to last supported version since this error
present from the beginning.

Reported-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoAgPKODUsu9gqUFiNqEOAqedStxJ-a0sapsJXWWAVp%3Dxg%40mail.gmail.com
Backpatch-through: 9.4

Branch
------
master

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

Modified Files
--------------
contrib/pg_trgm/trgm_op.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


Re: pgsql: Fix operator naming in pg_trgm GUC option descriptions

От
Alexander Korotkov
Дата:
On Mon, Jun 10, 2019 at 8:19 PM Alexander Korotkov
<akorotkov@postgresql.org> wrote:
> Backpatch-through: 9.4

Sorry, this appears to be wrong.  Backpatch was needed only to 9.6.
In 9.5 and earlier there wasn't GUC option.  Threshold was operated
just by set_limit()/show_limit() functions.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company