diff options
Diffstat (limited to 'src/backend/optimizer/plan/planmain.c')
-rw-r--r-- | src/backend/optimizer/plan/planmain.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/backend/optimizer/plan/planmain.c b/src/backend/optimizer/plan/planmain.c index 0cef5472f29..f9e52260bfa 100644 --- a/src/backend/optimizer/plan/planmain.c +++ b/src/backend/optimizer/plan/planmain.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.28 1998/09/01 04:29:51 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.29 1998/10/01 02:03:59 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -96,14 +96,7 @@ query_planner(Query *root, */ if (tlist == NIL && qual == NULL) { - if (command_type == CMD_DELETE || - - /* - * Total hack here. I don't know how to handle statements like - * notify in action bodies. Notify doesn't return anything but - * scans a system table. - */ - command_type == CMD_NOTIFY) + if (command_type == CMD_DELETE) { return ((Plan *) make_seqscan(NIL, NIL, |