pgsql: Defend against null input in analyze_requires_snapshot(), per

Started by Tom Laneover 17 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Log Message:
-----------
Defend against null input in analyze_requires_snapshot(), per report
from Rushabh Lathia.

Back-patch of patch of 2009-01-08. This is necessary in 8.3, as reported
by Bjorn Munch. It's not currently necessary in 8.2, AFAICS, but seems
best to include it there too.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/parser:
analyze.c (r1.353.2.2 -> r1.353.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c?r1=1.353.2.2&r2=1.353.2.3)