aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-02-15 17:09:54 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2014-02-15 17:09:54 -0500
commitdada4747a0eefc57cf82a27d856562b029813464 (patch)
tree46289e7ca893d0f615e238e8cd8f16c2ee2747e2 /src/backend/parser/parse_utilcmd.c
parent38855bed5a09a2f005b88b73cf319b32332c4ad3 (diff)
downloadpostgresql-dada4747a0eefc57cf82a27d856562b029813464.tar.gz
postgresql-dada4747a0eefc57cf82a27d856562b029813464.zip
Fix unportable coding in DetermineSleepTime().
We should not assume that struct timeval.tv_sec is a long, because it ain't necessarily. (POSIX says that it's a time_t, which might well be 64 bits now or in the future; or for that matter might be 32 bits on machines with 64-bit longs.) Per buildfarm member panther. Back-patch to 9.3 where the dubious coding was introduced.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions