Update obsolete comment.
authorTom Lane
Thu, 5 Apr 2012 17:05:02 +0000 (13:05 -0400)
committerTom Lane
Thu, 5 Apr 2012 17:05:02 +0000 (13:05 -0400)
Somebody didn't bother to fix this comment while adding foreign table
support to the code below it.

In passing, remove the explicit calling-out of relkind letters, which adds
complexity to the comment but doesn't help in understanding the code.

src/bin/pg_dump/pg_dump.c

index f9fbaeeb5e8de0a17ca91b516242b21977bfaa5a..db56910691a77bae5af3e36a9fe10d2d99dcdd25 100644 (file)
@@ -3847,13 +3847,13 @@ getTables(Archive *fout, int *numTables)
    selectSourceSchema(fout, "pg_catalog");
 
    /*
-    * Find all the tables (including views and sequences).
+    * Find all the tables and table-like objects.
     *
     * We include system catalogs, so that we can work if a user table is
     * defined to inherit from a system catalog (pretty weird, but...)
     *
-    * We ignore tables that are not type 'r' (ordinary relation), 'S'
-    * (sequence), 'v' (view), or 'c' (composite type).
+    * We ignore relations that are not ordinary tables, sequences, views,
+    * composite types, or foreign tables.
     *
     * Composite-type table entries won't be dumped as such, but we have to
     * make a DumpableObject for them so that we can track dependencies of the