typo in src/include/utils/array.h - Mailing list pgsql-patches

From Weiping He
Subject typo in src/include/utils/array.h
Date
Msg-id 3F0C4D36.5090900@zhengmai.com.cn
Whole thread Raw
Responses Re: typo in src/include/utils/array.h  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
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.
   */



pgsql-patches by date:

Previous
From: Aizaz Ahmed
Date:
Subject: Re: fix for new SUSET GUC variables
Next
From: Bruce Momjian
Date:
Subject: Re: fix for new SUSET GUC variables