Re: Trigger/Function problem
| От | Dan Wilson |
|---|---|
| Тема | Re: Trigger/Function problem |
| Дата | |
| Msg-id | 00c901c06644$9e5eb4f0$078353d8@danwilson обсуждение исходный текст |
| Ответ на | Trigger/Function problem ("Dan Wilson" <phpPgAdmin@acucore.com>) |
| Список | pgsql-general |
If you look at my function definition, you can see that this is not within the function body. This is the testing of the trigger which produces the error. It's just a plain old SQL statment that initiates the trigger. -Dan ----- Original Message ----- From: "Robert B. Easter" <reaster@comptechnews.com> > On Thursday 14 December 2000 21:27, Dan Wilson wrote: > > > > I'm totally fine up to this point... then I try this: > > > > UPDATE help SET site_id = 'APW' WHERE help_id = 2; > > > > I get the following error: > > > > NOTICE: plpgsql: ERROR during compile of f_auto_date near line 1 > > "RROR: parse error at or near " > > Try: > > UPDATE help SET site_id = ''APW'' WHERE help_id = 2; > > Remember that ' is used to enclose the whole function body. You have to use > '' to mean a literal '. >
В списке pgsql-general по дате отправления: