diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-03-03 22:17:08 -0500 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2013-03-04 15:17:40 +0000 |
commit | 0ea1f6e98fc84f1c5f66cc6355f6e20582295e81 (patch) | |
tree | 6add782d94206a65350ff6ecd97579dfc64baedf /doc/src | |
parent | 54d6706ded5c612a7f9b16eb6ddb08f44e24bb70 (diff) | |
download | postgresql-0ea1f6e98fc84f1c5f66cc6355f6e20582295e81.tar.gz postgresql-0ea1f6e98fc84f1c5f66cc6355f6e20582295e81.zip |
psql: Let \l accept a pattern
reviewed by Satoshi Nagayasu
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index fb63845a260..c6347cd6f84 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1745,12 +1745,13 @@ hello 10 <varlistentry> - <term><literal>\l</literal> (or <literal>\list</literal>)</term> - <term><literal>\l+</literal> (or <literal>\list+</literal>)</term> + <term><literal>\l[+]</literal> or <literal>\list[+] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term> <listitem> <para> - List the names, owners, character set encodings, and access privileges - of all the databases in the server. + List the databases in the server and show their names, owners, + character set encodings, and access privileges. + If <replaceable class="parameter">pattern</replaceable> is specified, + only databases whose names match the pattern are listed. If <literal>+</literal> is appended to the command name, database sizes, default tablespaces, and descriptions are also displayed. (Size information is only available for databases that the current |