OSDN Git Service

There is no need for ReadBuffer() call sites to check that the returned
authorNeil Conway <neilc@samurai.com>
Sun, 14 Nov 2004 02:04:14 +0000 (02:04 +0000)
committerNeil Conway <neilc@samurai.com>
Sun, 14 Nov 2004 02:04:14 +0000 (02:04 +0000)
commita236dd9536bd4624b259759e08cb2b8d4585ab0f
tree193c4b8d5962fb3c30fbc657c4650b67723d93b1
parent1c5125adf320316de46705a2f25548de2d20bbcc
There is no need for ReadBuffer() call sites to check that the returned
buffer is valid, as ReadBuffer() will elog on error. Most of the call
sites of ReadBuffer() got this right, but this patch fixes those call
sites that did not.
src/backend/access/heap/heapam.c
src/backend/commands/analyze.c
src/backend/commands/sequence.c
src/backend/commands/trigger.c