| От | Fabien COELHO |
|---|---|
| Тема | Re: psql - factor out echo code |
| Дата | |
| Msg-id | alpine.DEB.2.22.394.2107140905320.1705285@pseudo обсуждение исходный текст |
| Ответ на | Re: psql - factor out echo code (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: psql - factor out echo code
|
| Список | pgsql-hackers |
>> Attached v4 simplifies the format and fixes this one. > > I think this goes way way overboard in terms of invasiveness. There's no > need to identify individual call sites of PSQLexec. [...] ISTM that having the information was useful for the user who actually asked for psql to show hidden queries, and pretty simple to get, although somehow invasive. > It also looks like a mess from the translatibility standpoint. > You can't expect "%s QUERY" to be a useful thing for translators. Sure. Maybe I should have used an enum have a explicit switch in echoQuery, but I do not like writing this kind of code. Attached a v5 without hinting at the origin of the query beyond internal or not. -- Fabien.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера