Skip site navigation (1) Skip section navigation (2)

Res: [GENERAL] Res: Cluster with LATIN1 and UTF-8

From: paulo matadr <saddoness(at)yahoo(dot)com(dot)br>
To: admin <pgsql-admin(at)postgresql(dot)org>
Subject: Res: [GENERAL] Res: Cluster with LATIN1 and UTF-8
Date: 2010-12-13 20:38:12
Message-ID: 825780.59847.qm@web114715.mail.gq1.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-general
Solved  tnks...
createdb -E LATIN1 -O yyyy -T template0 --lc-collate=pt_BR --lc-ctype=pt_BR xxxx

Paulo




________________________________
De: Osvaldo Kussama <osvaldo(dot)kussama(at)gmail(dot)com>
Para: paulo matadr <saddoness(at)yahoo(dot)com(dot)br>
Enviadas: Segunda-feira, 13 de Dezembro de 2010 16:14:36
Assunto: Re: [GENERAL] Res: [ADMIN] Cluster with LATIN1 and UTF-8

2010/12/13 paulo matadr <saddoness(at)yahoo(dot)com(dot)br>:
> I dont find way to create cluster... with example:
>  psql -l
> teste1                           |admin                       | LATIN1
> teste2                           | postgres                  | SQL_ASCII
> teste3                           | admin2                    | UTF8
>
> -bash-3.1$ psql --version
> psql (PostgreSQL) 8.3.5
> on this version in another server, it's working..
> but I cant repeat on postgres 9 .
>
>
>
>
>
> Paulo
>
> ________________________________
> De: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>
> Para: paulo matadr <saddoness(at)yahoo(dot)com(dot)br>
> Cc: admin <pgsql-admin(at)postgresql(dot)org>
> Enviadas: Segunda-feira, 13 de Dezembro de 2010 13:11:20
> Assunto: Re: [ADMIN] Cluster with LATIN1 and UTF-8
>
> Ciao Paulo,
>
> Il 13/12/10 14:22, paulo matadr ha scritto:
>
> Im try install postgres 9.0  on rhel
> and I try install cluster with 2 options of databases  LATIN1 and UTF-8.
> It's possible?
>
> Yes it is. I suggest that you look at the "ENCODING" option for the CREATE
> DATABASE command:
>
> http://www.postgresql.org/docs/9.0/interactive/sql-createdatabase.html
>
> Hope this helps.
>


See an example in manual:
http://www.postgresql.org/docs/current/interactive/multibyte.html#AEN30690

Osvaldo



      

In response to

pgsql-admin by date

Next:From: Fred ParkinsonDate: 2010-12-13 20:41:47
Subject: Re: adminpack installed?
Previous:From: Dinesh BhandaryDate: 2010-12-13 20:03:56
Subject: log_file_mode

pgsql-general by date

Next:From: ray josephDate: 2010-12-14 02:32:00
Subject: Re: Defining a Connection String in Windows XP
Previous:From: Raymond O'DonnellDate: 2010-12-13 20:09:38
Subject: Re: Defining a Connection String in Windows XP

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group