summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.c
diff options
context:
space:
mode:
authorRobert Haas2016-06-06 10:14:21 +0000
committerRobert Haas2016-06-06 10:17:10 +0000
commitaba8943082f1ccbfb19f2e7ff02ba3be0fcb6c9d (patch)
tree41ebbcc307aaea64b9315b0252b3e95b7f91d69c /src/timezone/pgtz.c
parent6201a8ef3ab1f44853ab3e4b16afeefc969a58bf (diff)
pg_upgrade: Improve error checking in rewriteVisibilityMap.
In the old logic, if read() were to return an error, we'd silently stop rewriting the visibility map at that point in the file. That's safe, but reporting the error is better, so do that instead. Report by Andres Freund. Patch by Masahiko Sawada, with one correction by me.
Diffstat (limited to 'src/timezone/pgtz.c')
0 files changed, 0 insertions, 0 deletions