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
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/57615562504a3a10784d10a5205ed4bab41dba6e

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