Thread: pgsql: Fix bug in to_tsquery().

pgsql: Fix bug in to_tsquery().

From
Heikki Linnakangas
Date:
Fix bug in to_tsquery().

We were using memcpy() to copy to a possibly overlapping memory region,
which is a no-no. Use memmove() instead.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/435a1437961d72c98a1dbd27c8a9fb75024730f9

Modified Files
--------------
src/backend/tsearch/to_tsany.c |    7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)