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

From: neilc(at)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix two places in xml.c that neglected to check the return values
Date: 2008-01-12 10:50:04
Message-ID: 20080112105004.15CE9754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mkz 2008-01-12 17:33:39 pgbouncer - pgbouncer: skip manpage build if tools not availalbe
Previous Message Neil Conway 2008-01-12 10:38:32 pgsql: Minor perf tweak for _SPI_strdup(): if we're going to call