Skip site navigation (1) Skip section navigation (2)

pgsql: Remove unnecessary pg_verifymbstr() calls from tsvector/queryin

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/queryin
Date: 2012-05-14 11:36:27
Message-ID: E1STtZj-0008Uv-Iv@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group