comment fix in attoptcache.c

Started by Amit Langoteover 8 years ago2 messages
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
1 attachment(s)

Noticed a comment copy-pasted from spccache.c, which attached patch fixes
to match the file.

 /*
  * InitializeAttoptCache
- *      Initialize the tablespace cache.
+ *      Initialize the attribute options cache.
  */

Thanks,
Amit

Attachments:

attoptcache-comment-fix.patchtext/plain; charset=UTF-8; name=attoptcache-comment-fix.patchDownload
diff --git a/src/backend/utils/cache/attoptcache.c b/src/backend/utils/cache/attoptcache.c
index f7f85b53db..4b30e6bc62 100644
--- a/src/backend/utils/cache/attoptcache.c
+++ b/src/backend/utils/cache/attoptcache.c
@@ -71,7 +71,7 @@ InvalidateAttoptCacheCallback(Datum arg, int cacheid, uint32 hashvalue)
 
 /*
  * InitializeAttoptCache
- *		Initialize the tablespace cache.
+ *		Initialize the attribute options cache.
  */
 static void
 InitializeAttoptCache(void)
#2Magnus Hagander
magnus@hagander.net
In reply to: Amit Langote (#1)
Re: comment fix in attoptcache.c

On Fri, Jun 2, 2017 at 11:14 AM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp

wrote:

Noticed a comment copy-pasted from spccache.c, which attached patch fixes
to match the file.

/*
* InitializeAttoptCache
- *      Initialize the tablespace cache.
+ *      Initialize the attribute options cache.
*/

Applied, thanks.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/&gt;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/&gt;