diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-06-06 06:14:21 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-06-06 06:17:10 -0400 |
commit | aba8943082f1ccbfb19f2e7ff02ba3be0fcb6c9d (patch) | |
tree | 41ebbcc307aaea64b9315b0252b3e95b7f91d69c /src/backend/executor/tqueue.c | |
parent | 6201a8ef3ab1f44853ab3e4b16afeefc969a58bf (diff) | |
download | postgresql-aba8943082f1ccbfb19f2e7ff02ba3be0fcb6c9d.tar.gz postgresql-aba8943082f1ccbfb19f2e7ff02ba3be0fcb6c9d.zip |
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/backend/executor/tqueue.c')
0 files changed, 0 insertions, 0 deletions