pgsql: Skip memcpy(x, x) in qunique().
Noah Misch <[email protected]> Sat, 04 Jan 2020 19:32:26 +0000
| Newsgroups | gmane.comp.db.postgresql.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Skip memcpy(x, x) in qunique(). It has undefined behavior. Follow the precedent of commit 9a9473f3cce1a21c25d6cc7569710e832d2b180b. No back-patch, since the master branch alone has this function. Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5b630501e9fa58c5069b36247d63fc460d912c7f Modified Files -------------- src/include/lib/qunique.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)