OSDN Git Service

There is a bug in the function executor. The backend crashes while trying to
authorMarc G. Fournier <scrappy@hub.org>
Mon, 16 Sep 1996 05:36:38 +0000 (05:36 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 16 Sep 1996 05:36:38 +0000 (05:36 +0000)
commit906651f663669036a0a9680ff4105c5828c9190c
tree7afe961f8f5d753bed5c9944953116d51c7c963b
parent475493130de825caf884d537d193d6b3ff8d0279
There is a bug in the function executor. The backend crashes while trying to
execute an sql function containing an utility command (create, notify, ...).
The bug is part in the planner, which returns a number of plans different
than the number of commands if there are utility commands in the query, and
in part in the function executor which assumes that all commands are normal
query commands and causes a SIGSEGV trying to execute commands without plan.

Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
src/backend/executor/functions.c
src/backend/tcop/postgres.c