Re: Typo in jsonfuncs.c

2021-04-08 Thread Tatsuro Yamada

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





Re: Typo in jsonfuncs.c

2021-04-08 Thread Julien Rouhaud
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.




Typo in jsonfuncs.c

2021-04-07 Thread Tatsuro Yamada

Hi,

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

Thanks,
Tatsuro Yamada

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.