]> git.ipfire.org Git - thirdparty/postgresql.git/commit
the following patch fixes a bug in the oracle compatibility
authorBruce Momjian <bruce@momjian.us>
Tue, 11 Aug 1998 18:38:07 +0000 (18:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 11 Aug 1998 18:38:07 +0000 (18:38 +0000)
commitf22c6f9237d02267071a2edab212bd398014d733
treef85c23d7e53e34da4d02756a07974fa0dcfdae86
parentc6dd1e63a951ba4b529ed292f88fba28de70df78
the  following  patch fixes a bug in the oracle compatibility
    functions btrim() ltrim() and rtrim().

    The error was that the character after the set  was  included
    in the tests (ptr2 pointed to the character after the vardata
    part of set if no match found,  so  comparing  *ptr  or  *end
    against *ptr2 MAY match -> strip).

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being
right. # # Let's break this rule - forgive me.
# #======================================== jwieck@debis.com (Jan
Wieck) #
src/backend/utils/adt/oracle_compat.c