[COMMITTERS] pgsql: Minor code review for parse_phrase_operator().
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | [COMMITTERS] pgsql: Minor code review for parse_phrase_operator(). |
| Дата | |
| Msg-id | E1dPV3E-0000qZ-BO@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Minor code review for parse_phrase_operator(). Fix its header comment, which described the old behavior of the <N> phrase distance operator; we missed updating that in commit 028350f61. Also, reset errno before strtol() call, to defend against the possibility that it was already ERANGE at entry. (The lack of complaints says that it generally isn't, but this is at least a latent bug.) Very minor stylistic improvements as well. Victor Drobny noted the obsolete comment, I noted the errno issue. Back-patch to 9.6 where this code was added, just in case the errno issue is a live bug in some cases. Discussion: https://postgr.es/m/2b5382fdff9b1f79d5eb2c99c4d2cbe2@postgrespro.ru Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9bfb1f2d64c4cab108a69e4bf66da4c2464dcaaf Modified Files -------------- src/backend/utils/adt/tsquery.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера