| From: | Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> |
|---|---|
| To: | Theodore Petrosky <tedpet5(at)yahoo(dot)com> |
| Cc: | postgres SQL <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: where is this problem (trigger) |
| Date: | 2004-05-14 15:06:31 |
| Message-ID: | 20040514080501.M35179@megazone.bigpanda.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On Wed, 12 May 2004, Theodore Petrosky wrote:
> I can not seem to update these rows because of the dot
> in the jobnumber field. I have found that I can change
> the dot to an underscore but I thought I would ask if
> there is a better solution.
>
> here is the error:
>
> UPDATE jobinfo SET isbilled = false WHERE jobnumber =
> '1162.01';
> ERROR: syntax error at or near ".01" at character 20
> CONTEXT: PL/pgSQL function "notify_jobinfo" line 2 at
> execute statement
From the docs, it looks like NOTIFY takes an identifier
as a name. Foo_1023.01 is not a valid identifier so you
might want to double quote the string since "Foo_1023.01"
is one.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Haller | 2004-05-14 16:44:39 | Re: where is this problem (trigger) |
| Previous Message | Greg Stark | 2004-05-14 05:40:26 | Re: Multiple outer join on same table |