Re: Oracle SGA like feature???

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Oracle SGA like feature???
Дата
Msg-id 200210031601.g93G1Hr06704@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Oracle SGA like feature???  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Large databases, performance
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Large databases, performance