]> 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:25:17 +0000 (19:25 +0300)
commit26d73ddac43667f80cec530ac8644beeecfd666f
tree8ec8eda1e630c05d36533b42f6f799382eccaff9
parent82992a4cd07c427d8215ecc19b56e4f4eb9471b2
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