Use memmove() instead of memcpy() for copying overlapping regions. In commit d2495f272cd164ff075bee5c4ce95aed11338a36, I fixed this bug in to_tsquery(), but missed the fact that plainto_tsquery() has the same bug.
Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/928aec71c497c6775cd53d68f7603ba55ab437c1 Modified Files -------------- src/backend/tsearch/to_tsany.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
