Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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).
regards, tom lane