syntax error collate - Mailing list pgsql-general

From Niklas Langvig
Subject syntax error collate
Date
Msg-id F07D92605693874883FC5F6E4FB1A85130789AC4B3@Globe-Exch03.globesoft.com
Whole thread Raw
Responses Re: syntax error collate  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general

Hello
If I do this from pgAdmin on windows to my localhost database 9.2 it works fine
CREATE COLLATION Test (

    LOCALE = 'en_US.UTF-8'

)

 

If I connect to a linux server and do the sameI get

ERROR:  syntax error at or near "COLLATION"

LINE 1: CREATE COLLATION Test (

 

On linux we have version string

PostgreSQL 9.0.3 on x86_64-unknown-linux-gnu

On my windows computer I have PostgreSQL 9.2.1

 

Does anyone have some ideas what the problem might be.

 

We get the same error if we run psql (with the same create collation query) under linux too.

 

Thanks
Niklas

pgsql-general by date:

Previous
From: Wolf Schwurack
Date:
Subject: Re: [Pgbouncer-general] Again, problem with pgbouncer
Next
From: Léon Melis
Date:
Subject: [PL/PGSQL] column name substitution in PG8.4