Comment cleanup - it's vs its
I noticed a few incorrect usages of it's vs its and decided to search
systematically for any mistakes. Overall, we use it right more than 99% of
the time but there were still about 20 mistakes.
Jacob
Attachments:
v1-its.patchapplication/octet-stream; name=v1-its.patchDownload+21-21
On Wed, Jan 29, 2025 at 1:46 PM Jacob Brazeal <jacob.brazeal@gmail.com> wrote:
I noticed a few incorrect usages of it's vs its and decided to search systematically for any mistakes. Overall, we use it right more than 99% of the time but there were still about 20 mistakes.
LGTM, except maybe this one:
- * try read non-locale sign, it's happen only if format is not exact
+ * try read non-locale sign, it happens only if format is not exact
...sounds better to me with "which happens".
--
John Naylor
Amazon Web Services
On Wed, Jan 29, 2025 at 1:46 PM Jacob Brazeal <jacob.brazeal@gmail.com> wrote:
I noticed a few incorrect usages of it's vs its and decided to search systematically for any mistakes. Overall, we use it right more than 99% of the time but there were still about 20 mistakes.
I just noticed this, too:
-# DROP DATABASE should drops it's slots, including active slots.
+# DROP DATABASE should drops its slots, including active slots.
"should drop"
--
John Naylor
Amazon Web Services
On Wed, Jan 29, 2025 at 2:26 PM Jacob Brazeal <jacob.brazeal@gmail.com> wrote:
I just noticed this, too:
-# DROP DATABASE should drops it's slots, including active slots. +# DROP DATABASE should drops its slots, including active slots."should drop"
Ah, good catch. Fixed in v3.
(Note: You forgot reply-all for your later messages). I ran pgindent
after applying and found it re-indented an entire paragraph. That
seemed like an unfortunate side-effect for a typo fix, so I took the
liberty of adding an additional space after a period. Some comments
use the two-space style anyway. Pushed, thanks for the patch!
--
John Naylor
Amazon Web Services
Import Notes
Reply to msg id not found: CA+COZaDmH+0tyP-h7xPiw1A4bbwyE1e6eN1w8CQh6v-r1hJOXw@mail.gmail.com