Thread: typo in src/include/utils/array.h

typo in src/include/utils/array.h

From
Weiping He
Date:
seems the comment of macro ARR_LBOUND missed '(a)',
 here is the diff:

*** array.h.old Thu Jul 10 01:01:42 2003
--- array.h     Thu Jul 10 01:01:53 2003
***************
*** 81,87 ****
   * ARR_LBOUND returns a pointer to an array of array lower bounds.
   *
   * That is: if the third axis of an array has elements 5 through 10, then
!  * ARR_DIMS(a)[2] == 6 and ARR_LBOUND[2] == 5.
   *
   * Unlike C, the default lower bound is 1.
   */
--- 81,87 ----
   * ARR_LBOUND returns a pointer to an array of array lower bounds.
   *
   * That is: if the third axis of an array has elements 5 through 10, then
!  * ARR_DIMS(a)[2] == 6 and ARR_LBOUND(a)[2] == 5.
   *
   * Unlike C, the default lower bound is 1.
   */



Re: typo in src/include/utils/array.h

From
Tom Lane
Date:
Weiping He <laser@zhengmai.com.cn> writes:
> seems the comment of macro ARR_LBOUND missed '(a)',
>  here is the diff:

Applied, thanks!

            regards, tom lane