Re: Small proposal to improve out-of-memory messages
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Small proposal to improve out-of-memory messages |
| Дата | |
| Msg-id | 20180331133607.gbtc2wot3rnsewar@alvherre.pgsql обсуждение |
| Ответ на | Small proposal to improve out-of-memory messages (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Small proposal to improve out-of-memory messages
|
| Список | pgsql-hackers |
Tom Lane wrote: > In the wake of commit 442accc3f one might think that the message should > also include the context "identifier" if any. But I'm specifically not > proposing that, because of the point made in the discussion of that patch > that some identifier strings might contain security-sensitive query > excerpts. Now that that commit has required all context "names" to be > compile-time constants, it's hard to see how there could be any security > downside to showing them in a user-visible message. How about using errdetail_log() to include the context identifier? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: