From 4ab23937292187692840395faa4513f7f5c1ceff Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 7 Sep 2001 01:24:18 +0000 Subject: [PATCH] Update tab completion for \d*. --- doc/FAQ | 10 +++------- src/bin/psql/tab-complete.c | 9 +++++---- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/doc/FAQ b/doc/FAQ index 81df36bf2c..12cd268652 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -1,7 +1,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL - Last updated: Tue Sep 4 01:14:28 EDT 2001 + Last updated: Thu Sep 6 20:51:03 EDT 2001 Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) @@ -557,12 +557,8 @@ You need to increase the postmaster's limit on how many concurrent backend processes it can start. - In PostgreSQL 6.5 and up, the default limit is 32 processes. You can - increase it by restarting the postmaster with a suitable -N value. - With the default configuration you can set -N as large as 1024. If you - need more, increase MAXBACKENDS in include/pg_config.h and rebuild. - You can set the default value of -N at configuration time, if you - like, using configure's --with-maxbackends switch. + The default limit is 32 processes. You can increase it by restarting + the postmaster with a suitable -N value or modifying postgresql.conf. Note that if you make -N larger than 32, you must also increase -B beyond its default of 64; -B must be at least twice -N, and probably diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 745ae5881c..bbc09a599c 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.36 2001/08/30 13:17:03 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.37 2001/09/07 01:24:18 momjian Exp $ */ /*---------------------------------------------------------------------- @@ -263,9 +263,10 @@ psql_completion(char *text, int start, int end) }; static char *backslash_commands[] = { - "\\connect", "\\copy", "\\d", "\\di", "\\di", "\\ds", "\\dS", "\\dv", - "\\da", "\\df", "\\do", "\\dt", "\\e", "\\echo", "\\encoding", - "\\g", "\\h", "\\i", "\\l", + "\\connect", "\\copy", "\\d", "\\da", "\\dd", "\\df", "\\di", + "\\dl", "\\do", "\\dp", "\\ds", "\\dS", "\\dt", "\\dT", "\\dv", + "\\e", "\\echo", + "\\encoding", "\\g", "\\h", "\\i", "\\l", "\\lo_import", "\\lo_export", "\\lo_list", "\\lo_unlink", "\\o", "\\p", "\\pset", "\\q", "\\qecho", "\\r", "\\set", "\\t", "\\unset", "\\x", "\\w", "\\z", "\\!", NULL