Problem with odbc.sql - Mailing list pgsql-general

From alain.bruneau@acoss.fr
Subject Problem with odbc.sql
Date
Msg-id OF822023E3.4DBE14A7-ONC1256CFE.00386F2F@ac750.recouv
Whole thread Raw
Responses Re: Problem with odbc.sql  (Richard Huxton <dev@archonet.com>)
List pgsql-general
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"

test=# CREATE FUNCTION "char"(integer) RETURNS text AS '
test'#     SELECT chr($1);
test'# ' LANGUAGE SQL;
ERROR:  parser: parse error at or near "sql"

Perhaps due to my Postgresql version : postgresql-7.1.2.0

Thanks you for your help.

Regards,
Alain.


pgsql-general by date:

Previous
From: Bob Wheldon
Date:
Subject: Open Source case tools (similar to Oracle Designer)
Next
From: Shridhar Daithankar
Date:
Subject: [OT][ANNOUNCEMENT]Announcing first public release of Open Application Server