diff options
Diffstat (limited to 'src/backend/catalog/pg_inherits.c')
-rw-r--r-- | src/backend/catalog/pg_inherits.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/catalog/pg_inherits.c b/src/backend/catalog/pg_inherits.c index 98bf48d1e2b..6447b528546 100644 --- a/src/backend/catalog/pg_inherits.c +++ b/src/backend/catalog/pg_inherits.c @@ -53,7 +53,7 @@ typedef struct SeenRelsEntry * against possible DROPs of child relations. * * If a partition's pg_inherits row is marked "detach pending", - * *detached_exist (if not null) is set true, otherwise it is set false. + * *detached_exist (if not null) is set true. * * If omit_detached is true and there is an active snapshot (not the same as * the catalog snapshot used to scan pg_inherits!) and a pg_inherits tuple @@ -84,9 +84,6 @@ find_inheritance_children(Oid parentrelId, bool omit_detached, if (!has_subclass(parentrelId)) return NIL; - if (detached_exist) - *detached_exist = false; - /* * Scan pg_inherits and build a working array of subclass OIDs. */ |