typo in a comment of restrictinfo.c

Started by Ryo Kanbayashiabout 1 year ago3 messages
#1Ryo Kanbayashi
kanbayashi.dev@gmail.com
1 attachment(s)

Hi everyone,

I found a typo in comment of restrictinfo.c line 99.
( https://github.com/postgres/postgres/blob/master/src/backend/optimizer/util/restrictinfo.c#L99
)

Not 'construcitng' but 'constructing' ?

--
Best regards,
Ryo Kanbayashi
kanbayashi.dev@gmail.com
https://github.com/ryogrid

Attachments:

restrictinfo_c_typo.patchapplication/x-patch; name=restrictinfo_c_typo.patchDownload
diff --git a/src/backend/optimizer/util/restrictinfo.c b/src/backend/optimizer/util/restrictinfo.c
index 9e1458401c..ca3e764c20 100644
--- a/src/backend/optimizer/util/restrictinfo.c
+++ b/src/backend/optimizer/util/restrictinfo.c
@@ -96,7 +96,7 @@ make_restrictinfo(PlannerInfo *root,
  * make_plain_restrictinfo
  *
  * Common code for the main entry points and the recursive cases.  Also,
- * useful while contrucitng RestrictInfos above OR clause, which already has
+ * useful while constructing RestrictInfos above OR clause, which already has
  * RestrictInfos above its subclauses.
  */
 RestrictInfo *
#2John Naylor
johncnaylorls@gmail.com
In reply to: Ryo Kanbayashi (#1)
Re: typo in a comment of restrictinfo.c

On Sat, Dec 14, 2024 at 8:41 AM Ryo Kanbayashi <kanbayashi.dev@gmail.com> wrote:

Hi everyone,

I found a typo in comment of restrictinfo.c line 99.
( https://github.com/postgres/postgres/blob/master/src/backend/optimizer/util/restrictinfo.c#L99
)

Not 'construcitng' but 'constructing' ?

Pushed, thanks!

--
John Naylor
Amazon Web Services

#3Ryo Kanbayashi
kanbayashi.dev@gmail.com
In reply to: John Naylor (#2)
Re: typo in a comment of restrictinfo.c

😀

Ryo Kanbayashi reacted via Gmail
<https://www.google.com/gmail/about/?utm_source=gmail-in-product&amp;utm_medium=et&amp;utm_campaign=emojireactionemail#app&gt;

On Sat, Dec 14, 2024 at 12:00 PM John Naylor <johncnaylorls@gmail.com>
wrote:

Show quoted text

On Sat, Dec 14, 2024 at 8:41 AM Ryo Kanbayashi <kanbayashi.dev@gmail.com>
wrote:

Hi everyone,

I found a typo in comment of restrictinfo.c line 99.
(

https://github.com/postgres/postgres/blob/master/src/backend/optimizer/util/restrictinfo.c#L99

)

Not 'construcitng' but 'constructing' ?

Pushed, thanks!

--
John Naylor
Amazon Web Services