From: Vik Fearing <vik.fearing@2ndquadrant.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Code comment change
Date: Sun, 23 Jun 2019 11:21:13 +0200
Message-ID: <150d3e9f-c7ec-3fb3-4fdb-def47c4144af@2ndquadrant.com> (raw)
There is some language in a code comment that has been bothering me for
several years now. After pointing it out in a conversation off-list
recently, I figured it was past time to do something about it.
Patch attached.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Attachments:
[text/x-patch] code_comment_change.diff (779B, ../150d3e9f-c7ec-3fb3-4fdb-def47c4144af@2ndquadrant.com/2-code_comment_change.diff)
download | inline diff:diff --git a/src/backend/access/nbtree/nbtpage.c b/src/backend/access/nbtree/nbtpage.cindex de4d4efc46..03570300d8 100644--- a/src/backend/access/nbtree/nbtpage.c+++ b/src/backend/access/nbtree/nbtpage.c@@ -268,7 +268,7 @@ _bt_update_meta_cleanup_info(Relation rel, TransactionId oldestBtpoXact,
* its location from the metadata page, and then read the root page
* itself. If no root page exists yet, we have to create one. The
* standard class of race conditions exists here; I think I covered
- * them all in the Hopi Indian rain dance of lock requests below.+ * them all in the intricate dance of lock requests below.
*
* The access type parameter (BT_READ or BT_WRITE) controls whether
* a new root page will be created or not. If access = BT_READ,
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: vik.fearing@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
Subject: Re: Code comment change
In-Reply-To: <150d3e9f-c7ec-3fb3-4fdb-def47c4144af@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox