Re: Oracle SGA like feature??? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Oracle SGA like feature???
Date
Msg-id 200210031601.g93G1Hr06704@candle.pha.pa.us
Whole thread Raw
In response to Re: Oracle SGA like feature???  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Out of memory throws FATAL, which just exits the backend.
>
> Au contraire --- in most places it just throws ERROR.
>
> There are a few poorly-coded spots that throw FATAL if malloc fails.
> That should be cleaned up someday, at least for the ones that are likely
> to occur while running (startup code I think isn't an issue).

Oh, I knew some threw fatal, but yes, the common ones just throw an
error on the query.  Once malloc gives an error, any attempt to increase
our memory will fail, but we continue with the memory we have already
allocated.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: Large databases, performance
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Large databases, performance