Re: [HACKERS] backend closed the channel unexpectedly - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] backend closed the channel unexpectedly
Date
Msg-id 29508.926550924@sss.pgh.pa.us
Whole thread Raw
In response to backend closed the channel unexpectedly  (David Wetzel <dave@turbocat.de>)
List pgsql-hackers
David Wetzel <dave@turbocat.de> writes:
> I have found a bug that is very easy to reprouduce here:

> [ backend crash after many attempts to insert same data into a
> uniquely-indexed table ]

This may be the same bug that was discussed earlier today on the hackers
list: the backend fails to release temporary memory after an error, so
if you make it generate enough error messages during one session you can
eventually run out of memory.  Watch the process with 'top' or some such
to see if it gets up to your system's limit on process size just before
failing.

I'm hoping to look into the cause of the memory leak shortly, but
no guarantees about how soon it might be fixed ;-).

            regards, tom lane

pgsql-hackers by date:

Previous
From: Keith Parks
Date:
Subject: Patch to pg_dump for NUMERIC.
Next
From: David Wetzel
Date:
Subject: Re: [PORTS] Re: [HACKERS] backend closed the channel unexpectedly