]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use memmove() instead of memcpy() for copying overlapping regions.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Feb 2014 07:55:14 +0000 (09:55 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Feb 2014 08:00:36 +0000 (10:00 +0200)
commitfe8a6f53e07d2686e3238a237ec64e0fc2d4b123
tree5bcc5e406527ccd5d03b742073707179a846c711
parentc73423d9772ef322fd84f76af5340f2b19337c21
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.
src/backend/tsearch/to_tsany.c