From: Richard Huxton <dev@archonet.com>
To: alain.bruneau@acoss.fr
To: pgsql-general@postgresql.org
Subject: Re: Problem with odbc.sql
Date: Fri, 4 Apr 2003 12:32:34 +0100
Message-ID: <200304041232.34270.dev@archonet.com> (raw)
In-Reply-To: <OF822023E3.4DBE14A7-ONC1256CFE.00386F2F@ac750.recouv>
References: <OF822023E3.4DBE14A7-ONC1256CFE.00386F2F@ac750.recouv>
On Friday 04 Apr 2003 11:21 am, alain.bruneau@acoss.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dev@archonet.com, alain.bruneau@acoss.fr, pgsql-general@postgresql.org
Subject: Re: Problem with odbc.sql
In-Reply-To: <200304041232.34270.dev@archonet.com>
References: <OF822023E3.4DBE14A7-ONC1256CFE.00386F2F@ac750.recouv> <200304041232.34270.dev@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox