pgsql: Avoid formally-undefined use of memcpy() in hstoreUniquePairs().

2017-11-25 Thread Tom Lane
Avoid formally-undefined use of memcpy() in hstoreUniquePairs(). hstoreUniquePairs() often called memcpy with equal source and destination pointers. Although this is almost surely harmless in practice, it's undefined according to the letter of the C standard. Some versions of valgrind will compl

pgsql: Avoid formally-undefined use of memcpy() in hstoreUniquePairs().

2017-11-25 Thread Tom Lane
Avoid formally-undefined use of memcpy() in hstoreUniquePairs(). hstoreUniquePairs() often called memcpy with equal source and destination pointers. Although this is almost surely harmless in practice, it's undefined according to the letter of the C standard. Some versions of valgrind will compl

pgsql: Avoid formally-undefined use of memcpy() in hstoreUniquePairs().

2017-11-25 Thread Tom Lane
Avoid formally-undefined use of memcpy() in hstoreUniquePairs(). hstoreUniquePairs() often called memcpy with equal source and destination pointers. Although this is almost surely harmless in practice, it's undefined according to the letter of the C standard. Some versions of valgrind will compl

pgsql: Avoid formally-undefined use of memcpy() in hstoreUniquePairs().

2017-11-25 Thread Tom Lane
Avoid formally-undefined use of memcpy() in hstoreUniquePairs(). hstoreUniquePairs() often called memcpy with equal source and destination pointers. Although this is almost surely harmless in practice, it's undefined according to the letter of the C standard. Some versions of valgrind will compl

pgsql: Avoid formally-undefined use of memcpy() in hstoreUniquePairs().

2017-11-25 Thread Tom Lane
Avoid formally-undefined use of memcpy() in hstoreUniquePairs(). hstoreUniquePairs() often called memcpy with equal source and destination pointers. Although this is almost surely harmless in practice, it's undefined according to the letter of the C standard. Some versions of valgrind will compl

pgsql: Avoid formally-undefined use of memcpy() in hstoreUniquePairs().

2017-11-25 Thread Tom Lane
Avoid formally-undefined use of memcpy() in hstoreUniquePairs(). hstoreUniquePairs() often called memcpy with equal source and destination pointers. Although this is almost surely harmless in practice, it's undefined according to the letter of the C standard. Some versions of valgrind will compl