Re: Small proposal to improve out-of-memory messages

2018-03-31 Thread Tom Lane
Alvaro Herrera writes: > 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 >>

Re: Small proposal to improve out-of-memory messages

2018-03-31 Thread Alvaro Herrera
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

Re: Small proposal to improve out-of-memory messages

2018-03-28 Thread Michael Paquier
On Thu, Mar 29, 2018 at 09:29:59AM +0800, Craig Ringer wrote: > This would have been significantly useful to me in the past, so +1 from me. As long as that does not cost more memory, +1. -- Michael signature.asc Description: PGP signature

Re: Small proposal to improve out-of-memory messages

2018-03-28 Thread Craig Ringer
On 29 March 2018 at 09:07, Tom Lane wrote: > I was looking at > https://www.postgresql.org/message-id/CAG_=8kAYKjhQX3FmAWQBC95Evh3+ > qszoqxknmm1q4w1qo7+...@mail.gmail.com > > in which the most salient issue is > > > 2018-03-28 19:20:33.264 UTC [10580] cory@match ERROR: out