Defend against null input in analyze_requires_snapshot(), per report
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Jan 2009 16:59:10 +0000 (16:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Jan 2009 16:59:10 +0000 (16:59 +0000)
commit152a8870a07ecfc88365b072804a8fef412e4117
treea2161e00b85e6471f2b8b9bf4741fcc057258d67
parentbb9a4bf3dd2b97690895d884e13b771bf7294ffe
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.
src/backend/parser/analyze.c