Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a75b080

Browse files
committed
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.
1 parent 97e26dc commit a75b080

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3847,13 +3847,13 @@ getTables(Archive *fout, int *numTables)
38473847
selectSourceSchema(fout, "pg_catalog");
38483848

38493849
/*
3850-
* Find all the tables (including views and sequences).
3850+
* Find all the tables and table-like objects.
38513851
*
38523852
* We include system catalogs, so that we can work if a user table is
38533853
* defined to inherit from a system catalog (pretty weird, but...)
38543854
*
3855-
* We ignore tables that are not type 'r' (ordinary relation), 'S'
3856-
* (sequence), 'v' (view), or 'c' (composite type).
3855+
* We ignore relations that are not ordinary tables, sequences, views,
3856+
* composite types, or foreign tables.
38573857
*
38583858
* Composite-type table entries won't be dumped as such, but we have to
38593859
* make a DumpableObject for them so that we can track dependencies of the

0 commit comments

Comments
 (0)