Re: doc: pg_trgm missing description for GUC "pg_trgm.strict_word_similarity_threshold"
Ian Barwick <ian.barwick@2ndquadrant.com>
From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>,
Masahiko Sawada <sawada.mshk@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Alexander Korotkov <a.korotkov@postgrespro.ru>
Date: 2019-06-07T15:02:04Z
Lists: pgsql-hackers
Attachments
- doc-pg_trgm-guc-format.patch (text/x-patch) patch
On 6/7/19 9:00 PM, Michael Paquier wrote: > On Fri, Jun 07, 2019 at 03:44:14PM +0900, Masahiko Sawada wrote: >> BTW while looking GUC variables defined in trgm_op.c the operators in >> each short description seems not correct; there is an extra percent >> sign. Should we also fix them? > > Both of you are right here I did notice the double percent signs but my brain skipped over them assuming they were translatable strings, thanks for catching that. > and the addition documentation looks fine to me (except the indentation). The indentation in the additional documentation seems fine to me, it's the section for the preceding GUC which is offset one column to the right. Patch attached for that. > The fix for the parameter descriptions can be back-patched safely as they > would reload correctly once the version is updated. Yup, they would appear the first time one of the pg_trgm functions is called in a session after the new object file is installed. > Or is that not worth bothering except on HEAD? Thoughts? Personally I don't think it's that critical, but not bothered either way. Presumably no-one has complained so far anyway (I only chanced upon the missing GUC description because I was poking about looking for examples of custom GUC handling...) Regards Ian Barwick -- Ian Barwick https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Remove pg_trgm.strict_word_similarity_threshold doc from 9.6 and 10
- 0a8cd4c29624 10.11 landed
- b18aaad90fb1 9.6.16 landed
-
Add docs of missing GUC to pgtrgm.sgml
- 97c9ea17fbca 9.6.14 landed
- 9ee98cc3fae2 10.9 landed
- 19dc23a5ef75 11.4 landed
- ba3783e0244e 12.0 landed
-
Fix docs indentation in pgtrgm.sgml
- abfbdb25ec2a 9.6.14 landed
- 7c2122f11f0f 10.9 landed
- 76bccb12dbb8 11.4 landed
- 852ddfbbe212 12.0 landed
-
Fix operator naming in pg_trgm GUC option descriptions
- 959792087a10 9.6.14 landed
- 589f91fc312e 10.9 landed
- bc93a5ab4070 11.4 landed
- b6987a885ba9 12.0 landed
-
Add strict_word_similarity to pg_trgm module
- be8a7a686627 11.0 cited