pgsql: There is no need for ReadBuffer() call sites to check that the - Mailing list pgsql-committers

From neilc@svr1.postgresql.org (Neil Conway)
Subject pgsql: There is no need for ReadBuffer() call sites to check that the
Date
Msg-id 20041114020415.95A373A3FE8@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.180 -> r1.181)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c.diff?r1=1.180&r2=1.181)
    pgsql/src/backend/commands:
        analyze.c (r1.78 -> r1.79)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/analyze.c.diff?r1=1.78&r2=1.79)
        sequence.c (r1.117 -> r1.118)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/sequence.c.diff?r1=1.117&r2=1.118)
        trigger.c (r1.174 -> r1.175)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.174&r2=1.175)

pgsql-committers by date:

Previous
From: andrewd@pgfoundry.org (User Andrewd)
Date:
Subject: pgbuildfarm - client-code: .
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Improvements to the PITR docs.