Show oid2name command-line arguments in documentation like we do for
authorBruce Momjian
Thu, 20 May 2010 03:45:38 +0000 (03:45 +0000)
committerBruce Momjian
Thu, 20 May 2010 03:45:38 +0000 (03:45 +0000)
non-contrib command-line tools (no longer in a single table display).

doc/src/sgml/oid2name.sgml

index 57893a3d129b0b2826748da09855c4492a4348b9..1c1278935264ac90c1a7ec1e63126856de9ab077 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  oid2name
   
    oid2name connects to a target database and
    extracts OID, filenode, and/or table name information.  You can also have
-   it show database OIDs or tablespace OIDs.  The program is controlled by
-   a large number of command-line options, as shown in
-   .
+   it show database OIDs or tablespace OIDs.
   
 
-  
-   <application>oid2name</> options
-   
-    
-     
-      Option
-      Description
-     
-    
-
-    
-     
-      -o oid
-      show info for table with OID oid
-     
-
-     
-      -f filenode
-      show info for table with filenode filenode
-     
-
-     
-      -t tablename_pattern
-      show info for table(s) matching tablename_pattern
-     
-
-     
-      -s
-      show tablespace OIDs
-     
-
-     
-      -S
-      include system objects (those in
-       information_schemapg_toast
-       and pg_catalog schemas)
-      
-     
-
-     
-      -i
-      include indexes and sequences in the listing
-     
-
-     
-      -x
-      display more information about each object shown: tablespace name,
-       schema name, and OID
-      
-     
-
-     
-      -q
-      omit headers (useful for scripting)
-     
-
-     
-      -d database
-      database to connect to
-     
-
-     
-      -H host
-      database server's host
-     
-
-     
-      -p port
-      database server's port
-     
-
-     
-      -U username
-      username to connect as
-     
-
-     
-      -P password
-      password (deprecated — putting this on the command line
-       is a security hazard)
-     
-    
-   
-  
+
+  <application>oid2name</> options
+
+  
+   oid2name accepts the following command-line arguments:
+
+   
+
+    
+      oid
+     show info for table with OID oid
+    
+
+    
+      filenode
+     show info for table with filenode filenode
+    
+
+    
+      tablename_pattern
+     show info for table(s) matching tablename_pattern
+    
+
+    
+     
+     show tablespace OIDs
+    
+
+    
+     
+     include system objects (those in
+      
+      and  schemas)
+     
+    
+
+    
+     
+     include indexes and sequences in the listing
+    
+
+    
+     
+     display more information about each object shown: tablespace name,
+      schema name, and OID
+     
+    
+
+    
+     
+     omit headers (useful for scripting)
+    
+
+    
+      database
+     database to connect to
+    
+
+    
+      host
+     database server's host
+    
+
+    
+      port
+     database server's port
+    
+
+    
+      username
+     username to connect as
+    
+
+    
+      password
+     password (deprecated — putting this on the command line
+      is a security hazard)
+    
+
+   
+  
 
   
    To display specific tables, select which tables to show by
-   using <literal>-o, -f and/or >-t.
-   <literal>-o takes an OID,
-   <literal>-f takes a filenode,
-   and <literal>-t takes a tablename (actually, it's a LIKE
-   pattern, so you can use things like <literal>foo%).
+   using <option>-o, 
+   <option>-o takes an OID,
+   <option>-f takes a filenode,
+   and <option>-t takes a tablename (actually, it's a LIKE
+   pattern, so you can use things like <option>foo%).
    You can use as many
    of these options as you like, and the listing will include all objects
    matched by any of the options.  But note that these options can only
-   show objects in the database given by <literal>-d.
+   show objects in the database given by <option>-d.
   
 
   
-   If you don't give any of <literal>-o, -f or >-t,
-   but do give <literal>-d, it will list all tables in the database
-   named by <literal>-d.  In this mode, the >-S and
-   <literal>-i options control what gets listed.
+   If you don't give any of <option>-o, 
+   but do give <option>-d, it will list all tables in the database
+   named by <option>-d.  In this mode, the >-S and
+   <option>-i options control what gets listed.
   
 
   
-   If you don't give <literal>-d either, it will show a listing of database
-   OIDs.  Alternatively you can give <literal>-s to get a tablespace
+   If you don't give <option>-d either, it will show a listing of database
+   OIDs.  Alternatively you can give <option>-s to get a tablespace
    listing.