Changeset: ed475afc2e54 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ed475afc2e54
Modified Files:
        clients/src/mapiclient/mclient.1
Branch: default
Log Message:

document extended \d command


diffs (42 lines):

diff -r d723e3582935 -r ed475afc2e54 clients/src/mapiclient/mclient.1
--- a/clients/src/mapiclient/mclient.1  Wed Dec 08 18:03:22 2010 +0100
+++ b/clients/src/mapiclient/mclient.1  Thu Dec 09 11:41:48 2010 +0100
@@ -346,17 +346,29 @@
 .IR table .
 .TP
 \fB\ed\fP
-Describe (dump the SQL schema of) the complete database.
-This is equivalent to using the program
-.IR msqldump (1)
-with the
-.B \-\-describe
-.RB ( \-D )
-option.
+Alias for \\dvt.
 .TP
-\fB\ed\fP \fItable\fP
+\fB\ed[Stvsfn]+\fP
+List database objects of the given type.  Multiple type specifiers can
+be used at the same time.  The specifiers \fIS\fP, \fIt\fP, \fIv\fP,
+\fIs\fP, \fIf\fP and \fIn\fP stand for System, table, view, sequence,
+function and schema respectively.  Note that \fIS\fP simply switches on
+viewing system catalog objects, which is orthogonal on the other
+specifiers.
+.TP
+\fB\ed[Stvsfn]+\fP \fIobject\fP
 Describe the given
-.IR table .
+.I object
+in the database using SQL statements that reconstruct the object.  The
+same specifiers as above can be used, following the same rules.  When no
+specifiers are given, \fBvt\fP is assumed.
+The object can be given with or without a schema, separated by a dot.
+The object name
+can contain the wildcard characters \fB*\fP and \fB_\fP that represent
+zero or more, and exactly a single character respectively.  An object
+name is converted to lowercase, unless the object name is quoted by
+double quotes (\fB"\fP).  Examples of this, are e.g. \fI*.mytable\fP or
+\fItabletype*\fP.
 .TP
 \fB\eA\fP
 Enable auto commit mode.
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to