pgsql: Fix two places in xml.c that neglected to check the return values - Mailing list pgsql-committers

From neilc@postgresql.org (Neil Conway)
Subject pgsql: Fix two places in xml.c that neglected to check the return values
Date
Msg-id 20080112105004.15CE9754108@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix two places in xml.c that neglected to check the return values of
SPI_prepare() and SPI_cursor_open(), to silence a Coverity warning.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.65 -> r1.66)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.65&r2=1.66)

pgsql-committers by date:

Previous
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: Minor perf tweak for _SPI_strdup(): if we're going to call
Next
From: mkz@pgfoundry.org (User Mkz)
Date:
Subject: pgbouncer - pgbouncer: skip manpage build if tools not availalbe