diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 05:29:07 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 05:29:07 +0000 |
| commit | 0e314d747e2803a9bea7ee69ab0c7df881277eba (patch) | |
| tree | 45ea45c0dba5c1b2e950d156949be0d8d841746d /doc/src/sgml/ref/set.sgml | |
| parent | 341b328b180e65d1fa5c8f2235cf101c8a12824f (diff) | |
Add safety check on expression nesting depth. Default value is set by
a config.h #define, and the runtime value can be controlled via SET.
Diffstat (limited to 'doc/src/sgml/ref/set.sgml')
| -rw-r--r-- | doc/src/sgml/ref/set.sgml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml index 87d4d6f09e1..cd6265eed6a 100644 --- a/doc/src/sgml/ref/set.sgml +++ b/doc/src/sgml/ref/set.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.31 2000/02/27 21:07:03 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.32 2000/03/17 05:29:03 tgl Exp $ Postgres documentation --> @@ -770,6 +770,30 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE } </listitem> </varlistentry> + <varlistentry> + <term>MAX_EXPR_DEPTH</term> + <listitem> + <para> + Sets the maximum expression nesting depth that the parser will + accept. The default value is high enough for any normal query, + but you can raise it if you need to. (But if you raise it too high, + you run the risk of backend crashes due to stack overflow.) + + <variablelist> + <varlistentry> + <term><replaceable class="parameter">integer</replaceable></term> + <term>ON</term> + <listitem> + <para> + Maximum depth. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </listitem> + </varlistentry> + </variablelist> </para> </refsect2> |
