Typo in jsonfuncs.c

Started by Tatsuro Yamadaalmost 5 years ago3 messages
#1Tatsuro Yamada
tatsuro.yamada.tf@nttcom.co.jp
1 attachment(s)

Hi,

I found a typo in jsonfuncs.c, probably.
s/an an/an/
Please find attached patch.

Thanks,
Tatsuro Yamada

Attachments:

typo.patchtext/plain; charset=UTF-8; name=typo.patchDownload
diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c
index 511467280f..9961d27df4 100644
--- a/src/backend/utils/adt/jsonfuncs.c
+++ b/src/backend/utils/adt/jsonfuncs.c
@@ -4882,7 +4882,7 @@ IteratorConcat(JsonbIterator **it1, JsonbIterator **it2,
  * case if target is an array. The assignment index will not be restricted by
  * number of elements in the array, and if there are any empty slots between
  * last element of the array and a new one they will be filled with nulls. If
- * the index is negative, it still will be considered an an index from the end
+ * the index is negative, it still will be considered an index from the end
  * of the array. Of a part of the path is not present and this part is more
  * than just one last element, this flag will instruct to create the whole
  * chain of corresponding objects and insert the value.
#2Julien Rouhaud
rjuju123@gmail.com
In reply to: Tatsuro Yamada (#1)
Re: Typo in jsonfuncs.c

On Thu, Apr 08, 2021 at 10:06:56AM +0900, Tatsuro Yamada wrote:

Hi,

I found a typo in jsonfuncs.c, probably.
s/an an/an/
Please find attached patch.

For the archives' sake, this has been pushed as of 8ffb003591.

#3Tatsuro Yamada
tatsuro.yamada.tf@nttcom.co.jp
In reply to: Julien Rouhaud (#2)
Re: Typo in jsonfuncs.c

Hi Julien and Amit Kapila,

On 2021/04/08 17:33, Julien Rouhaud wrote:

On Thu, Apr 08, 2021 at 10:06:56AM +0900, Tatsuro Yamada wrote:

Hi,

I found a typo in jsonfuncs.c, probably.
s/an an/an/
Please find attached patch.

For the archives' sake, this has been pushed as of 8ffb003591.

Julien, thanks for the info! :-D
Also, thanks for taking your time to push this, Amit.

Regards,
Tatsuro Yamada