1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00
Files
postgres/src/backend
Nathan Bossart e8d5929428 Use pg_memory_is_all_zeros() in pgstatfuncs.c.
There are a few places in this file that use memset() and memcmp()
to determine whether a section of memory is all zeros.  This commit
modifies them to use pg_memory_is_all_zeros() instead.  These
aren't expected to be hot code paths, but this may optimize them a
bit.  Plus, this allows us to remove some variables that were only
needed for the memset() and memcmp().

Author: Bertrand Drouvot
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/Z1hNubHfvMxlW6eu%40ip-10-97-1-34.eu-west-3.compute.internal
2024-12-11 14:19:14 -06:00
..
2024-10-08 10:51:20 +09:00
2024-11-28 12:01:14 +13:00
2024-12-02 13:30:07 -06:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-06-24 13:11:27 +02:00
2024-11-28 08:27:20 +01:00
2024-12-05 07:19:37 +01:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-06-21 08:17:23 +02:00
2024-05-14 12:57:22 +02:00