ERROR: collation "latin1_general_ci" for encoding "UTF8" does not exist - Mailing list pgsql-general

From ss
Subject ERROR: collation "latin1_general_ci" for encoding "UTF8" does not exist
Date
Msg-id 1440683223816-5863581.post@n5.nabble.com
Whole thread Raw
Responses Re: ERROR: collation "latin1_general_ci" for encoding "UTF8" does not exist
List pgsql-general
I have started writting query since a day on postGreS my query is :

    CREATE TABLE IF NOT EXISTS utilisateurs (
      SEQU_NK   SERIAL PRIMARY KEY NOT NULL UNIQUE,
      UTILISATEUR_NK bigint NOT NULL,
      NOM varchar(25) COLLATE latin1_general_ci NOT NULL DEFAULT '',
      PASSE varchar(40) COLLATE latin1_general_ci NOT NULL ,
      RACCOURCI varchar(5) COLLATE latin1_general_ci NOT NULL,
      DROITS varchar(4) COLLATE latin1_general_ci NOT NULL DEFAULT '....' ,

       CONSTRAINT   UTILISATEUR_NK UNIQUE (UTILISATEUR_NK,NOM)
    ) ;
    COMMENT ON COLUMN utilisateurs.PASSE IS 'md5';
    COMMENT ON COLUMN utilisateurs.DROITS IS 'ceps';

And the error is :

    ERROR:  collation "latin1_general_ci" for encoding "UTF8" does not exist
    LINE 4:   NOM varchar(25) COLLATE latin1_general_ci NOT NULL DEFAULT...
                              ^
    ********** Error **********

    ERROR: collation "latin1_general_ci" for encoding "UTF8" does not exist
    SQL state: 42704
    Character: 143

Could some one please help me ?



--
View this message in context:
http://postgresql.nabble.com/ERROR-collation-latin1-general-ci-for-encoding-UTF8-does-not-exist-tp5863581.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: two factor authentication for pgadmin iii
Next
From: Adrian Klaver
Date:
Subject: Re: ERROR: collation "latin1_general_ci" for encoding "UTF8" does not exist