diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-02-06 01:53:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-02-06 01:53:53 +0000 |
commit | 85c17dbff8ade0c5237e3ac1ece7cacacfdde399 (patch) | |
tree | 63209683720c582769cdb87e247d9dfa4f39320e /src/backend/utils/error/excid.c | |
parent | 192ce19d361b1a6ee5a6d7198ddb38780ec0cab8 (diff) |
Out-of-bounds memory allocation request sizes should be treated as just
elog(ERROR) not an Assert trap, since we've downgraded out-of-memory to
elog(ERROR) not a fatal error. Also, change the hard boundary from 256Mb
to 1Gb, just so that anyone who's actually got that much memory to spare
can play with TOAST objects approaching a gigabyte.
Diffstat (limited to 'src/backend/utils/error/excid.c')
-rw-r--r-- | src/backend/utils/error/excid.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/backend/utils/error/excid.c b/src/backend/utils/error/excid.c index bef1c00856b..877610176a3 100644 --- a/src/backend/utils/error/excid.c +++ b/src/backend/utils/error/excid.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.9 2001/01/24 19:43:15 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.10 2001/02/06 01:53:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -43,18 +43,6 @@ Exception BadArg = {"Bad Argument to Function Call"}; *****************************************************************************/ /* - * BadAllocSize - * Indicates that an allocation request is of unreasonable size. - */ -Exception BadAllocSize = {"Too Large Allocation Request"}; - -/* - * ExhaustedMemory - * Indicates an dynamic memory allocation failed. - */ -Exception ExhaustedMemory = {"Memory Allocation Failed"}; - -/* * Unimplemented * Indicates a function call request requires unimplemented code. */ |