]> granicus.if.org Git - postgresql/commit
Make memset() use sizeof() rather than re-compute size
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 29 Nov 2017 03:09:17 +0000 (00:09 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 29 Nov 2017 03:13:45 +0000 (00:13 -0300)
commit3848d21673e9dcb42d4bc1353043d7c7d6f550cd
tree45f6f80434d6cd82277375e964819a11968845cd
parent414cd434ff681e5f499803458eae9d5bb32372a9
Make memset() use sizeof() rather than re-compute size

This is simpler and more closely follows overwhelming precedent.

Report and patch by Mark Dilger.
Discussion: https://postgr.es/m/9A68FB88-5F45-4848-9926-8586E2D777D1@gmail.com
src/backend/statistics/extended_stats.c