| От | Peter Eisentraut |
|---|---|
| Тема | Re: Escape output of pg_amcheck test |
| Дата | |
| Msg-id | 8a4049cd-2987-49e0-b44f-cd9ba031e7dc@eisentraut.org обсуждение |
| Ответ на | Re: Escape output of pg_amcheck test (Peter Eisentraut <peter@eisentraut.org>) |
| Список | pgsql-hackers |
On 08.01.24 16:06, Peter Eisentraut wrote: > On 08.01.24 15:04, Aleksander Alekseev wrote: >>> [...] so I quickly wrote some (wrong) instrumentation to try to test >>> your patch. >> >> Yep, it confused me too at first. >> >> Since the encoding happens right before exit() call, maybe it's worth >> changing $b in-place in order to make the code slightly more readable >> for most of us :) > > My patch originally had the old-style > > my $b_escaped = $b; > $b_escaped =~ s/.../; > > ... sprintf(..., $b_escaped); > > but then I learned about the newish /r modifier and thought it was > cooler. :) committed
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера