|
8 | 8 | *
|
9 | 9 | * Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
10 | 10 | *
|
11 |
| - * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.206 2009/04/04 00:41:11 tgl Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.207 2009/04/04 00:44:30 tgl Exp $ |
12 | 12 | */
|
13 | 13 | #include"postgres_fe.h"
|
14 | 14 |
|
@@ -1944,15 +1944,15 @@ add_role_attribute(PQExpBuffer buf, const char *const str)
|
1944 | 1944 | /*
|
1945 | 1945 | * listTables()
|
1946 | 1946 | *
|
1947 |
| - * handler for \d, \dt, etc. |
| 1947 | + * handler for \dt, \di, etc. |
1948 | 1948 | *
|
1949 | 1949 | * tabtypes is an array of characters, specifying what info is desired:
|
1950 | 1950 | * t - tables
|
1951 | 1951 | * i - indexes
|
1952 | 1952 | * v - views
|
1953 | 1953 | * s - sequences
|
1954 |
| - * S - system tables (pg_catalog) |
1955 | 1954 | * (any order of the above is fine)
|
| 1955 | + * If tabtypes is empty, we default to \dtvs. |
1956 | 1956 | */
|
1957 | 1957 | bool
|
1958 | 1958 | listTables(constchar*tabtypes,constchar*pattern,boolverbose,boolshowSystem)
|
|