postgresql/src/backend/utils
Tom Lane dd1c781903 Make get_stack_depth_rlimit() handle RLIM_INFINITY more sanely.
Rather than considering this result as meaning "unknown", report LONG_MAX.
This won't change what superusers can set max_stack_depth to, but it will
cause InitializeGUCOptions() to set the built-in default to 2MB not 100kB.
The latter seems like a fairly unreasonable interpretation of "infinity".
Per my investigation of odd buildfarm results as well as an old complaint
from Heikki.

Since this should persuade all the buildfarm animals to use a reasonable
stack depth setting during "make check", revert previous patch that dumbed
down a recursive regression test to only 5 levels.
2010-11-06 16:50:18 -04:00
..
adt Ensure an index that uses a whole-row Var still depends on its table. 2010-11-02 17:15:07 -04:00
cache Provide hashing support for arrays. 2010-10-30 21:56:11 -04:00
error Use appendStringInfoString() where appropriate in elog.c. 2010-11-04 15:28:35 -04:00
fmgr Fix comparisons of pointers with zero to compare with NULL instead. 2010-10-29 15:51:52 -04:00
hash Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
init Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
mb Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
misc Make get_stack_depth_rlimit() handle RLIM_INFINITY more sanely. 2010-11-06 16:50:18 -04:00
mmgr Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
resowner Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
sort Eliminate some repetitive coding in tuplesort.c. 2010-10-07 20:32:21 -04:00
time Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
Gen_dummy_probes.sed Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Gen_fmgrtab.pl Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
probes.d Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00