| От | Andrew Dunstan |
|---|---|
| Тема | Re: WIP: log query in auto-explain |
| Дата | |
| Msg-id | 4B09C3B8.5050801@dunslane.net обсуждение исходный текст |
| Ответ на | Re: WIP: log query in auto-explain (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote: > Andrew Dunstan <andrew@dunslane.net> writes: > >> I put the attached together a while ago and neglected to send it. >> Basically it includes the text of the query being explained in the >> explain output. >> > > I'm pretty certain this will dump core in some contexts --- you should > not assume that sourceText is always available. > Ok, I guess I can insert a check that the sourceText is not null. I wonder what we are supposed to take an explanation to mean if we can't say what it is we're explaining. > Should we be worried about security implications of displaying the query > text? > > If it is dangerous then surely so is the explanation. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера