diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-04-05 13:05:02 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-04-05 13:05:02 -0400 |
commit | a75b08066ab4b426b1bd056fed81302e5a5d5371 (patch) | |
tree | 4af9074d38918dacb8efd9e1095d396bf35c11ba /src | |
parent | 97e26dc66d47624bdbdee1dbd007a0f4212defcb (diff) | |
download | postgresql-a75b08066ab4b426b1bd056fed81302e5a5d5371.tar.gz postgresql-a75b08066ab4b426b1bd056fed81302e5a5d5371.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 6 |
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 |