]> granicus.if.org Git - postgresql/commit
Fix bug in to_tsquery().
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 May 2012 16:22:56 +0000 (19:22 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 May 2012 16:27:34 +0000 (19:27 +0300)
commitd2495f272cd164ff075bee5c4ce95aed11338a36
treee87b769657b4ad8130fecffab24dfc901a4e28f8
parent9b63e9869ffaa4d6d3e8bf45086a765d8f310f1c
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.
src/backend/tsearch/to_tsany.c