summaryrefslogtreecommitdiff
path: root/src/backend/utils/resowner
diff options
context:
space:
mode:
authorDavid Rowley2025-11-16 23:27:00 +0000
committerDavid Rowley2025-11-16 23:27:00 +0000
commit586d63214e369283472b5c03fdbaf59833209b3e (patch)
tree2d60295090206cf99af33a43a251386382de621f /src/backend/utils/resowner
parent9c047da51f270b25fe03ee114e1de0c64aa9cc18 (diff)
Adjust MemSet macro to use size_t rather than longHEADmaster
Likewise for MemSetAligned. "long" wasn't the most suitable type for these macros as with MSVC in 64-bit builds, sizeof(long) == 4, which is narrower than the processor's word size, therefore these macros had to perform twice as many loops as they otherwise might. Author: David Rowley <[email protected]> Reviewed-by: Heikki Linnakangas <[email protected]> Reviewed-by: Peter Eisentraut <[email protected]> Discussion: https://postgr.es/m/CAApHDvoGFjSA3aNyVQ3ivbyc4ST=CC5L-_VjEUQ92HbE2Cxovg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/resowner')
0 files changed, 0 insertions, 0 deletions