Typo in the comment above heap_prepare_freeze_tuple() - Mailing list pgsql-hackers

From Amit Langote
Subject Typo in the comment above heap_prepare_freeze_tuple()
Date
Msg-id 5673A6F1.9060709@lab.ntt.co.jp
Whole thread Raw
Responses Re: Typo in the comment above heap_prepare_freeze_tuple()  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Freeze avoidance of very large table.
Next
From: Amit Langote
Date:
Subject: Re: Comment typo in pg_upgrade.c