summaryrefslogtreecommitdiff
path: root/src/bin/psql/tab-complete.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-03-17 05:29:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-03-17 05:29:07 +0000
commit0e314d747e2803a9bea7ee69ab0c7df881277eba (patch)
tree45ea45c0dba5c1b2e950d156949be0d8d841746d /src/bin/psql/tab-complete.c
parent341b328b180e65d1fa5c8f2235cf101c8a12824f (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 'src/bin/psql/tab-complete.c')
-rw-r--r--src/bin/psql/tab-complete.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 54561cb3778..5aec29dc89c 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.15 2000/03/05 13:30:19 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.16 2000/03/17 05:29:06 tgl Exp $
*/
/*-----------
@@ -195,6 +195,7 @@ char ** psql_completion(char *text, int start, int end)
"client_encoding",
"server_encoding",
"KSQO",
+ "max_expr_depth",
"XactIsoLevel",
"PG_Options",
NULL