Re: where is this problem (trigger) - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: where is this problem (trigger)
Date
Msg-id 20040514080501.M35179@megazone.bigpanda.com
Whole thread Raw
In response to where is this problem (trigger)  (Theodore Petrosky <tedpet5@yahoo.com>)
Responses Re: where is this problem (trigger)
List 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.



pgsql-sql by date:

Previous
From: Christoph Haller
Date:
Subject: Re: where is this problem (trigger)
Next
From: "Eric Anderson Vianet SAO"
Date:
Subject: view running query