Skip to content

Commit 4ab2393

Browse files
committed
Update tab completion for \d*.
1 parent ee3c51d commit 4ab2393

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

doc/FAQ

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Tue Sep 4 01:14:28 EDT 2001
4+
Last updated: Thu Sep 6 20:51:03 EDT 2001
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -557,12 +557,8 @@
557557
You need to increase the postmaster's limit on how many concurrent
558558
backend processes it can start.
559559

560-
In PostgreSQL 6.5 and up, the default limit is 32 processes. You can
561-
increase it by restarting the postmaster with a suitable -N value.
562-
With the default configuration you can set -N as large as 1024. If you
563-
need more, increase MAXBACKENDS in include/pg_config.h and rebuild.
564-
You can set the default value of -N at configuration time, if you
565-
like, using configure's --with-maxbackends switch.
560+
The default limit is 32 processes. You can increase it by restarting
561+
the postmaster with a suitable -N value or modifying postgresql.conf.
566562

567563
Note that if you make -N larger than 32, you must also increase -B
568564
beyond its default of 64; -B must be at least twice -N, and probably

src/bin/psql/tab-complete.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.36 2001/08/30 13:17:03 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.37 2001/09/07 01:24:18 momjian Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -263,9 +263,10 @@ psql_completion(char *text, int start, int end)
263263
};
264264

265265
static char *backslash_commands[] = {
266-
"\\connect", "\\copy", "\\d", "\\di", "\\di", "\\ds", "\\dS", "\\dv",
267-
"\\da", "\\df", "\\do", "\\dt", "\\e", "\\echo", "\\encoding",
268-
"\\g", "\\h", "\\i", "\\l",
266+
"\\connect", "\\copy", "\\d", "\\da", "\\dd", "\\df", "\\di",
267+
"\\dl", "\\do", "\\dp", "\\ds", "\\dS", "\\dt", "\\dT", "\\dv",
268+
"\\e", "\\echo",
269+
"\\encoding", "\\g", "\\h", "\\i", "\\l",
269270
"\\lo_import", "\\lo_export", "\\lo_list", "\\lo_unlink",
270271
"\\o", "\\p", "\\pset", "\\q", "\\qecho", "\\r", "\\set", "\\t", "\\unset",
271272
"\\x", "\\w", "\\z", "\\!", NULL

0 commit comments

Comments
 (0)