]> granicus.if.org Git - postgresql/commit
Remove unnecessary pg_verifymbstr() calls from tsvector/query in functions.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 14 May 2012 11:30:32 +0000 (14:30 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 14 May 2012 11:30:32 +0000 (14:30 +0300)
commitf15c2eae9c2f36830fae40935bd8cdcede4b75a0
tree757cee97767beff73f7e5bcb251c12f39762bed2
parent9e4637bf89ef9fbc89a45dc4b421fa6740accd41
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.
src/backend/utils/adt/tsquery.c
src/backend/utils/adt/tsvector.c