pgsql: Fix inadequate error checking: you can't assume that

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix inadequate error checking: you can't assume that
Date: 2005-07-09 01:53:22
Message-ID: 20050709015322.A2E3D52A3D@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix inadequate error checking: you can't assume that fcinfo->resultinfo
is a ReturnSetInfo unless you've tested it with IsA.

Modified Files:
--------------
pgsql/contrib/tablefunc:
tablefunc.c (r1.36 -> r1.37)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tablefunc/tablefunc.c.diff?r1=1.36&r2=1.37)
pgsql/contrib/xml2:
xpath.c (r1.6 -> r1.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xpath.c.diff?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2005-07-09 10:09:17 Re: PgFoundry mailings
Previous Message Tom Lane 2005-07-08 18:41:55 pgsql: Fix config file lexer to not barf if postgresql.conf ends with a