pgsql: Fix varlena.c routines to allow 1-byte-header text values.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix varlena.c routines to allow 1-byte-header text values.
Date: 2007-09-22 00:36:38
Message-ID: 20070922003638.F08AF753E4C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix varlena.c routines to allow 1-byte-header text values. This is now
demonstrably necessary for text_substring() since regexp_split functions
may pass it such a value; and we might as well convert the whole file
at once. Per buildfarm results (though I wonder why most machines aren't
showing a failure).

Modified Files:
--------------
pgsql/src/backend/utils/adt:
varlena.c (r1.157 -> r1.158)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/varlena.c?r1=1.157&r2=1.158)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2007-09-22 03:58:34 pgsql: Go back to using a separate method for doing ILIKE for single
Previous Message Tom Lane 2007-09-21 22:52:52 pgsql: Fix regex, LIKE, and some other second-rank text-manipulation