aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-02-13 13:21:11 +0000
committerBruce Momjian <bruce@momjian.us>2000-02-13 13:21:11 +0000
commit77d31cf3c17070c38b6536fc8b8f264525930cda (patch)
tree0bfe0295d65726b895168ab5719f8adc0867a540 /src/backend/commands/trigger.c
parent2fb0ff0c5bcb751159c6601ca3647d68622ef02b (diff)
downloadpostgresql-77d31cf3c17070c38b6536fc8b8f264525930cda.tar.gz
postgresql-77d31cf3c17070c38b6536fc8b8f264525930cda.zip
2. trigger.c fails to compile due to a syntax error. It contains
a switch statement that has an empty default label. A label of a switch statement must be followed by a statement (or a label which is followed by a statement (or a label which ...)). 3. Files include stringinfo.h failed to compile. The macro, 'appendStringInfoCharMacro' is implemented with a '?:' operation that returns a void expression for the true part and a char expresion for the false part. Both the true and false parts of the '?:' oper- ator must return the same type. Billy G. Allie
Diffstat (limited to 'src/backend/commands/trigger.c')
-rw-r--r--src/backend/commands/trigger.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index ae0b57457a1..0b0b3cf2ece 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/trigger.c,v 1.59 2000/02/06 10:19:45 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/trigger.c,v 1.60 2000/02/13 13:21:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1201,8 +1201,6 @@ deferredTriggerExecute(DeferredTriggerEvent event, int itemno)
SaveTriggerData.tg_trigger =
rel->trigdesc->tg_after_row[TRIGGER_EVENT_DELETE][itemno];
break;
-
- default:
}
/* ----------