aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-02-15 15:22:40 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-02-15 15:22:40 -0500
commitfaade5d4c6d8b4f7d46f91702a57529c96aee86e (patch)
tree5d8e6f57efaed7eabc5ef57c02b1a7bf8f6bc812 /src/backend/commands/cluster.c
parent9d1ec5a8e155a996a81b5fecc3da803ecb94d8ae (diff)
downloadpostgresql-faade5d4c6d8b4f7d46f91702a57529c96aee86e.tar.gz
postgresql-faade5d4c6d8b4f7d46f91702a57529c96aee86e.zip
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
Diffstat (limited to 'src/backend/commands/cluster.c')
-rw-r--r--src/backend/commands/cluster.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index e9d7a7ff79b..11ce1bb4046 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -1522,8 +1522,8 @@ finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
/*
* Get a list of tables that the current user owns and
* have indisclustered set. Return the list in a List * of RelToCluster
- * with the tableOid and the indexOid on which the table is already
- * clustered.
+ * (stored in the specified memory context), each one giving the tableOid
+ * and the indexOid on which the table is already clustered.
*/
static List *
get_tables_to_cluster(MemoryContext cluster_context)
@@ -1539,9 +1539,7 @@ get_tables_to_cluster(MemoryContext cluster_context)
/*
* Get all indexes that have indisclustered set and are owned by
- * appropriate user. System relations or nailed-in relations cannot ever
- * have indisclustered set, because CLUSTER will refuse to set it when
- * called with one of them as argument.
+ * appropriate user.
*/
indRelation = table_open(IndexRelationId, AccessShareLock);
ScanKeyInit(&entry,