pgsql: Remove unnecessary string null-termination in pg_convert.

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary string null-termination in pg_convert.
Date: 2010-12-03 03:05:21
Message-ID: E1POLxZ-00081I-V5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary string null-termination in pg_convert.
We can directly verify the unterminated input with pg_verify_mbstr_len.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fd223c7407c7067ac3ec7e586f9e3d7b5afd2b2e

Modified Files
--------------
src/backend/utils/mb/mbutils.c | 35 +++++++++++++++++------------------
1 files changed, 17 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-12-03 13:01:25 pgsql: Remove misleading comments. Move _Clone and _DeClone functions b
Previous Message Tom Lane 2010-12-03 01:52:05 pgsql: Create core infrastructure for KNNGIST.