Re: Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the
В списке pgsql-hackers по дате отправления:
| От | Markus Wanner |
|---|---|
| Тема | Re: Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the |
| Дата | |
| Msg-id | 4884A34E.4050002@bluegap.ch обсуждение исходный текст |
| Ответ на | Re: Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the
|
| Список | pgsql-hackers |
Hi, Tom Lane wrote: > This seems like a bad idea, because it makes the code gratuitously > different from the names used for this purpose everywhere else. I find that a pretty dubious reason for having 'query_string' and 'queryString' in the same function. In fact, having it in the same code base seems strange. It makes me wish we had (better!) naming conventions... Something I've stumbled over often enough during my work with Postgres - What was it again: 'query_string' (87 times), 'queryString' (77 times) or 'querystr' (42 times)? However, what about at least adding a comment, so fellow hackers have a chance of understanding the subtle difference there? Regards Markus
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера