]> granicus.if.org Git - postgresql/commitdiff
Remove incorrect comment in dshash.c.
authorThomas Munro <tmunro@postgresql.org>
Sun, 28 Oct 2018 23:57:55 +0000 (12:57 +1300)
committerThomas Munro <tmunro@postgresql.org>
Sun, 28 Oct 2018 23:57:55 +0000 (12:57 +1300)
Back-patch to 11.

Author: Antonin Houska
Discussion: https://postgr.es/m/8726.1540553521%40localhost

src/backend/lib/dshash.c

index b46f7c4cfd0e76b6cf6115202824d7ae6cf0c15a..b2b8fe60e1c310ce74bc61355f6786f639896ef5 100644 (file)
@@ -672,9 +672,7 @@ delete_item(dshash_table *hash_table, dshash_table_item *item)
 
 /*
  * Grow the hash table if necessary to the requested number of buckets.  The
- * requested size must be double some previously observed size.  Returns true
- * if the table was successfully expanded or found to be big enough already
- * (because another backend expanded it).
+ * requested size must be double some previously observed size.
  *
  * Must be called without any partition lock held.
  */