Plug hole in dike: planner would coredump if query_planner
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Jun 1999 19:27:41 +0000 (19:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Jun 1999 19:27:41 +0000 (19:27 +0000)
commit25843c26e90d27bd3f4aee8d5e18d7794bf209bd
treeb0166a872412129892827502660f6ba215d757a3
parent6af993163e42a7bbec97ed89262d5e98b474aee5
Plug hole in dike: planner would coredump if query_planner
returned NULL, which it will do in some cases where an elog(ERROR) would
probably be more appropriate.  For the moment, generate a not-very-
informative error message rather than proceeding to certain coredump.
Probably ought to think about making query_planner elog instead of
returning NULL, but this is at least a safe change for now.
src/backend/optimizer/plan/planner.c