From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr> |
Cc: | pgsql-patches(at)postgresql(dot)org, t-ishii(at)sra(dot)co(dot)jp |
Subject: | Re: v7.4.1 text_position() patch |
Date: | 2004-01-30 23:06:06 |
Message-ID: | 20849.1075503966@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
"Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr> writes:
>> Hm. I don't think it can actually fail, because the wchar strings are
>> zero-terminated.
> [ yes it can ]
You're right. I was confused at first because I couldn't reproduce the
problem, but then I realized it's because I'm running with
CLOBBER_FREED_MEMORY enabled, so the junk beyond the end of the string
won't match the other string.
Will commit the patch. Thanks.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | markw | 2004-01-30 23:07:43 | Re: DBT-2 pulls PostgreSQL from CVS for STP |
Previous Message | Tom Lane | 2004-01-30 23:02:58 | Re: Question about indexes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2004-01-31 02:25:22 | Re: [PATCHES] v7.4.1 text_position() patch |
Previous Message | David Fetter | 2004-01-30 23:00:26 | Re: Patch for psql startup clarity |