diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-03-24 22:40:29 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-03-24 22:40:29 +0000 |
commit | 8899a2aba92c4a17f422172e7c9dd0e383eefa39 (patch) | |
tree | aea400d25b0e9c32b84004728c995cd53ab33533 /src/include/pg_config_manual.h | |
parent | a09b9a36d3cc8e4c5cd2877b2b764dc14a78f58e (diff) |
Replace max_expr_depth parameter with a max_stack_depth parameter that
is measured in kilobytes and checked against actual physical execution
stack depth, as per my proposal of 30-Dec. This gives us a fairly
bulletproof defense against crashing due to runaway recursive functions.
Diffstat (limited to 'src/include/pg_config_manual.h')
-rw-r--r-- | src/include/pg_config_manual.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h index 6fcf38ec7b1..87ddd1f1960 100644 --- a/src/include/pg_config_manual.h +++ b/src/include/pg_config_manual.h @@ -6,7 +6,7 @@ * for developers. If you edit any of these, be sure to do a *full* * rebuild (and an initdb if noted). * - * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.11 2004/03/12 00:25:40 neilc Exp $ + * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.12 2004/03/24 22:40:29 tgl Exp $ *------------------------------------------------------------------------ */ @@ -113,11 +113,6 @@ #define MAXPGPATH 1024 /* - * DEFAULT_MAX_EXPR_DEPTH: default value of max_expr_depth SET variable. - */ -#define DEFAULT_MAX_EXPR_DEPTH 10000 - -/* * PG_SOMAXCONN: maximum accept-queue length limit passed to * listen(2). You'd think we should use SOMAXCONN from * <sys/socket.h>, but on many systems that symbol is much smaller |