]> granicus.if.org Git - postgresql/commitdiff
Make trim/ltrim/rtrim/btrim multibyte aware
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 22 Sep 2001 03:30:39 +0000 (03:30 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 22 Sep 2001 03:30:39 +0000 (03:30 +0000)
(previous commit was missing commit messages)

src/backend/utils/adt/oracle_compat.c

index a05743f56b613e415621155efc01349326f3d071..7332d251f147bb69e3672b576cb5f049f5c57ad6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *     Edmund Mergl <E.Mergl@bawue.de>
  *
- *     $Header: /cvsroot/pgsql/src/backend/utils/adt/oracle_compat.c,v 1.33 2001/09/22 03:26:30 ishii Exp $
+ *     $Header: /cvsroot/pgsql/src/backend/utils/adt/oracle_compat.c,v 1.34 2001/09/22 03:30:39 ishii Exp $
  *
  */
 
@@ -381,7 +381,6 @@ btrim(PG_FUNCTION_ARGS)
                m -= str_len;
        }
        pfree(mp);
-
 #else
        while (m > 0)
        {
@@ -652,7 +651,6 @@ rtrim(PG_FUNCTION_ARGS)
                m -= str_len;
        }
        pfree(mp);
-
 #else
        while (m > 0)
        {