From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | alain(dot)bruneau(at)acoss(dot)fr, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problem with odbc.sql |
Date: | 2003-04-04 11:32:34 |
Message-ID: | 200304041232.34270.dev@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-odbc |
On Friday 04 Apr 2003 11:21 am, alain(dot)bruneau(at)acoss(dot)fr wrote:
> Hi.
>
> I'm trying to install psqlodbc-7.2.5 driver.
>
> I have some trouble with odbc.sql shell script.
>
> test=# CREATE OR REPLACE FUNCTION "char"(integer) RETURNS text AS '
> test'# SELECT chr($1);
> test'# ' LANGUAGE SQL;
> ERROR: parser: parse error at or near "OR"
I think CREATE OR REPLACE is a recent thing.
> test=# CREATE FUNCTION "char"(integer) RETURNS text AS '
> test'# SELECT chr($1);
> test'# ' LANGUAGE SQL;
> ERROR: parser: parse error at or near "sql"
Do you not need to quote the "SQL"?
> Perhaps due to my Postgresql version : postgresql-7.1.2.0
--
Richard Huxton
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2003-04-04 12:13:34 | Re: feature request - adding columns with default value |
Previous Message | Thierry Missimilly | 2003-04-04 11:28:43 | Successful Customer references |
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2003-04-05 16:05:00 | Re: SQLSetPos |
Previous Message | alain.bruneau | 2003-04-04 10:21:22 | Problem with odbc.sql |