]> granicus.if.org Git - postgresql/commit
On platforms that have getrlimit(RLIMIT_STACK), use it to ensure that
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Oct 2006 19:25:29 +0000 (19:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Oct 2006 19:25:29 +0000 (19:25 +0000)
commit71a6f8b85b9f748dc7f33c1212c4474e8beb901a
treed3ae369b5edb5b1c199f4cae9d1a637432c75b15
parent1c160291ef61f46800616cb88d5a3a02156de4e3
On platforms that have getrlimit(RLIMIT_STACK), use it to ensure that
max_stack_depth is not set to an unsafe value.

This commit also provides configure-time checking for <sys/resource.h>,
and cleans up some perhaps-unportable code associated with use of that
include file and getrlimit().
configure
configure.in
contrib/pgbench/pgbench.c
doc/src/sgml/config.sgml
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c
src/include/pg_config.h.in
src/include/tcop/tcopprot.h
src/include/utils/pg_rusage.h