pgsql: Fix operator naming in pg_trgm GUC option descriptions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Fix operator naming in pg_trgm GUC option descriptions

Alexander Korotkov-3
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(-)

Reply | Threaded
Open this post in threaded view
|

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

Alexander Korotkov
On Mon, Jun 10, 2019 at 8:19 PM Alexander Korotkov
<[hidden email]> 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