Thread: Doc bug

Doc bug

From
Greg Stark
Date:
I'm sure nobody was really confused by this little copy/paste oops in the
comments but just for the hell of it.



cd /r3/usr_local/src/pgsql/pgsql/src/backend/utils/adt/
diff -c /r3/usr_local/src/pgsql/pgsql/src/backend/utils/adt/name.c.\~1.58.\~
/r3/usr_local/src/pgsql/pgsql/src/backend/utils/adt/name.c
*** /r3/usr_local/src/pgsql/pgsql/src/backend/utils/adt/name.c.~1.58.~    Fri May 26 15:51:28 2006
--- /r3/usr_local/src/pgsql/pgsql/src/backend/utils/adt/name.c    Tue May 30 00:28:36 2006
***************
*** 122,129 ****
   *
   *        namelt    - returns 1 iff a < b
   *        namele    - returns 1 iff a <= b
!  *        namegt    - returns 1 iff a < b
!  *        namege    - returns 1 iff a <= b
   *
   */
  Datum
--- 122,129 ----
   *
   *        namelt    - returns 1 iff a < b
   *        namele    - returns 1 iff a <= b
!  *        namegt    - returns 1 iff a > b
!  *        namege    - returns 1 iff a >= b
   *
   */
  Datum


--
greg

Re: Doc bug

From
Tom Lane
Date:
Greg Stark <gsstark@mit.edu> writes:
> I'm sure nobody was really confused by this little copy/paste oops in the
> comments but just for the hell of it.

Egad, how old is that?  [digs in archives...]  That comment is there,
and wrong, in the original Postgres95 version imported into our CVS.
I don't see it though in Postgres V4R2, so the odds are that Jolly
or Chen is to be blamed.

Patch applied ... kudos for spotting it.

            regards, tom lane