diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-12-05 10:38:08 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-12-05 10:38:08 -0500 |
commit | 88f626f8680fbe93444582317d1adb375111855f (patch) | |
tree | 8323bee3b24406c42f94b98e9b03c538e766a32c /src/backend/commands/async.c | |
parent | 670b3bc8f5d1000b5475e41c6f023c490e8500fe (diff) | |
download | postgresql-88f626f8680fbe93444582317d1adb375111855f.tar.gz postgresql-88f626f8680fbe93444582317d1adb375111855f.zip |
Fix more DSA problems uncovered by the buildfarm.
On 32-bit systems, don't try to use 64-bit DSA pointers, because the
computation of DSA_MAX_SEGMENT_SIZE overflows Size.
Cast 1 to Size before shifting it, so that the compiler doesn't
produce a result of the wrong width.
In passing, change one use of size_t to Size.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions