Skip to content

Commit faade5d

Browse files
committed
Update obsolete comment.
Noted by Justin Pryzby, though I chose to just rip out the stale text, as it's in no way relevant to this particular function. Discussion: https://postgr.es/m/20200212182337.GZ1412@telsasoft.com
1 parent 9d1ec5a commit faade5d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/backend/commands/cluster.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,8 +1522,8 @@ finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
15221522
/*
15231523
* Get a list of tables that the current user owns and
15241524
* have indisclustered set. Return the list in a List * of RelToCluster
1525-
* with the tableOid and the indexOid on which the table is already
1526-
* clustered.
1525+
* (stored in the specified memory context), each one giving the tableOid
1526+
* and the indexOid on which the table is already clustered.
15271527
*/
15281528
static List *
15291529
get_tables_to_cluster(MemoryContext cluster_context)
@@ -1539,9 +1539,7 @@ get_tables_to_cluster(MemoryContext cluster_context)
15391539

15401540
/*
15411541
* Get all indexes that have indisclustered set and are owned by
1542-
* appropriate user. System relations or nailed-in relations cannot ever
1543-
* have indisclustered set, because CLUSTER will refuse to set it when
1544-
* called with one of them as argument.
1542+
* appropriate user.
15451543
*/
15461544
indRelation = table_open(IndexRelationId, AccessShareLock);
15471545
ScanKeyInit(&entry,

0 commit comments

Comments
 (0)