aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/hash/hashovfl.c2
-rw-r--r--src/backend/replication/walreceiver.c2
-rw-r--r--src/backend/utils/adt/tsgistidx.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/hash/hashovfl.c b/src/backend/access/hash/hashovfl.c
index e34cfc302d3..86aa48d520b 100644
--- a/src/backend/access/hash/hashovfl.c
+++ b/src/backend/access/hash/hashovfl.c
@@ -760,7 +760,7 @@ _hash_initbitmapbuffer(Buffer buf, uint16 bmsize, bool initpage)
/* set all of the bits to 1 */
freep = HashPageGetBitmap(pg);
- MemSet(freep, 0xFF, bmsize);
+ memset(freep, 0xFF, bmsize);
/*
* Set pd_lower just past the end of the bitmap page data. We could even
diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c
index 9452932d590..3d37c1fe62e 100644
--- a/src/backend/replication/walreceiver.c
+++ b/src/backend/replication/walreceiver.c
@@ -1410,7 +1410,7 @@ pg_stat_get_wal_receiver(PG_FUNCTION_ARGS)
* see details. Other users only get the pid value to know whether it
* is a WAL receiver, but no details.
*/
- MemSet(&nulls[1], true, sizeof(bool) * (tupdesc->natts - 1));
+ memset(&nulls[1], true, sizeof(bool) * (tupdesc->natts - 1));
}
else
{
diff --git a/src/backend/utils/adt/tsgistidx.c b/src/backend/utils/adt/tsgistidx.c
index b8fd96dd7b0..47daf8199ef 100644
--- a/src/backend/utils/adt/tsgistidx.c
+++ b/src/backend/utils/adt/tsgistidx.c
@@ -753,7 +753,7 @@ gtsvector_picksplit(PG_FUNCTION_ARGS)
if (ISALLTRUE(datum_l) || cache[j].allistrue)
{
if (!ISALLTRUE(datum_l))
- MemSet((void *) GETSIGN(datum_l), 0xff, siglen);
+ memset((void *) GETSIGN(datum_l), 0xff, siglen);
}
else
{
@@ -769,7 +769,7 @@ gtsvector_picksplit(PG_FUNCTION_ARGS)
if (ISALLTRUE(datum_r) || cache[j].allistrue)
{
if (!ISALLTRUE(datum_r))
- MemSet((void *) GETSIGN(datum_r), 0xff, siglen);
+ memset((void *) GETSIGN(datum_r), 0xff, siglen);
}
else
{