typo in src/include/utils/array.h

Started by Weiping Heabout 23 years ago2 messagespatches
Jump to latest
#1Weiping He
laser@zhengmai.com.cn

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.
   */
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Weiping He (#1)
Re: typo in src/include/utils/array.h

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