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)
commit6a4f9949050839596850cf0e28dfe1ea259c37dc
treedd9c68565db58849510edd5b070a30d210a56d30
parentfab091d76e188c78d690f9348ecedfe65300d4e2
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