summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2012-04-05 17:05:02 +0000
committerTom Lane2012-04-05 17:05:02 +0000
commita75b08066ab4b426b1bd056fed81302e5a5d5371 (patch)
tree4af9074d38918dacb8efd9e1095d396bf35c11ba
parent97e26dc66d47624bdbdee1dbd007a0f4212defcb (diff)
Update obsolete comment.
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.
-rw-r--r--src/bin/pg_dump/pg_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index f9fbaeeb5e8..db56910691a 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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