pgsql: Use memmove() instead of memcpy() for copying overlapping region - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Use memmove() instead of memcpy() for copying overlapping region
Date
Msg-id E1WCloo-0008Kh-SG@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6141983fb4da3577efdceca74c06209448b9c76b

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Use memmove() instead of memcpy() for copying overlapping region
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix WakeupWaiters() to not wake up an exclusive locker unnecessa