From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | gordoncl(at)optusnet(dot)com(dot)au, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Probs "compiling" a function |
Date: | 2002-10-08 08:32:42 |
Message-ID: | 200210080932.42532.dev@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Tuesday 08 Oct 2002 3:14 am, gordoncl(at)optusnet(dot)com(dot)au wrote:
> Greetings, Having probs just "compiling" this fn and it comes back with a
> very stark error msg which is below. I'm using version 7.1.3
>
> I run the script as:
> \i procedures/zff
>
> and get the error msg:
> psql:procedures/zff:51: ERROR: parser: parse error at or near "b"
>
> Line 51 is the line that starts LANGUAGE....
...
> VALUES(upper($1),$2,upper($3),upper($4),$5,$6,$7,$8,$9,upper($10),$11,
> $12,$13,$14,/'B/',t_class_sun,$16);
I think the 'B' here might be the problem - did you mean \'B\' or ''B''?
It probably doesn't spot it until the end of the definition when it hits
another quote on the "language" line.
- Richard Huxton
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2002-10-08 08:38:37 | Re: Problems Formulating a SELECT |
Previous Message | Ludwig Lim | 2002-10-08 07:28:44 | Temporary tables and indexes |