pgsql: Remove unnecessary pg_verifymbstr() calls from tsvector/query in

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary pg_verifymbstr() calls from tsvector/query in
Date: 2012-05-14 11:36:27
Message-ID: E1STtZj-0008Uv-Iv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary pg_verifymbstr() calls from tsvector/query in functions.

The input should've been validated well before it hits the input function.
Doing so again is a waste of cycles.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f15c2eae9c2f36830fae40935bd8cdcede4b75a0

Modified Files
--------------
src/backend/utils/adt/tsquery.c | 2 --
src/backend/utils/adt/tsvector.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-05-14 14:57:15 pgsql: Force pgwin32_recv into nonblock mode when called from pgstat.c.
Previous Message Heikki Linnakangas 2012-05-14 07:30:13 pgsql: Update comments that became out-of-date with the PGXACT struct.