Typo in the comment above heap_prepare_freeze_tuple()

Started by Amit Langoteover 10 years ago3 messageshackers
Jump to latest
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp

I think the following may be a typo:

  * Caller is responsible for ensuring that no other backend can access the
  * storage underlying this tuple, either by holding an exclusive lock on the
- * buffer containing it (which is what lazy VACUUM does), or by having it by
+ * buffer containing it (which is what lazy VACUUM does), or by having it be
  * in private storage (which is what CLUSTER and friends do).

If so, attached is the patch.

Thanks,
Amit

Attachments:

comment-typo-heap_prepare_freeze_tuple.patchtext/x-diff; name=comment-typo-heap_prepare_freeze_tuple.patchDownload+1-1
#2Robert Haas
robertmhaas@gmail.com
In reply to: Amit Langote (#1)
Re: Typo in the comment above heap_prepare_freeze_tuple()

On Fri, Dec 18, 2015 at 1:25 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

I think the following may be a typo:

* Caller is responsible for ensuring that no other backend can access the
* storage underlying this tuple, either by holding an exclusive lock on the
- * buffer containing it (which is what lazy VACUUM does), or by having it by
+ * buffer containing it (which is what lazy VACUUM does), or by having it be
* in private storage (which is what CLUSTER and friends do).

If so, attached is the patch.

Committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Robert Haas (#2)
Re: Typo in the comment above heap_prepare_freeze_tuple()

On 2015/12/19 2:05, Robert Haas wrote:

On Fri, Dec 18, 2015 at 1:25 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

I think the following may be a typo:

* Caller is responsible for ensuring that no other backend can access the
* storage underlying this tuple, either by holding an exclusive lock on the
- * buffer containing it (which is what lazy VACUUM does), or by having it by
+ * buffer containing it (which is what lazy VACUUM does), or by having it be
* in private storage (which is what CLUSTER and friends do).

If so, attached is the patch.

Committed.

Thanks!

Regards,
Amit

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers