pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Recommended cluster locale (initdb)?
3+ messages / 3 participants
[nested] [flat]

* Recommended cluster locale (initdb)?
@ 2016-09-23 14:07  Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
  0 siblings, 2 replies; 3+ messages in thread

From: Jan-Peter Seifert @ 2016-09-23 14:07 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I wonder which locale to choose for the PostgreSQL server itself.

C for performance or a UTF-8 locale for compatibility?

Especially if there are LATIN1- and UTF-8 databases etc. ...

I did not find any articles discussing this.

Could you tell me, please?

Thank you very much,

Peter







-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Recommended cluster locale (initdb)?
@ 2016-09-23 14:22  Vladimir Borodin <root@simply.name>
  parent: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
  1 sibling, 0 replies; 3+ messages in thread

From: Vladimir Borodin @ 2016-09-23 14:22 UTC (permalink / raw)
  To: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>; +Cc: pgsql-admin


> 23 сент. 2016 г., в 17:07, Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de> написал(а):
> 
> Hello,
> 
> I wonder which locale to choose for the PostgreSQL server itself.
> 
> C for performance or a UTF-8 locale for compatibility?
> 
> Especially if there are LATIN1- and UTF-8 databases etc. ...
> 
> I did not find any articles discussing this.
> 
> Could you tell me, please?

Locale should be most certainly UTF-8. The thing to doubt is collation, you can read about it here [1].

[1] https://simply.name/pg-lc-collate.html <https://simply.name/pg-lc-collate.html;
> 
> Thank you very much,
> 
> Peter
> 
> 
> 
> 
> 
> 
> 
> -- 
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin


--
May the force be with you…
https://simply.name

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Recommended cluster locale (initdb)?
@ 2016-09-23 15:14  Gilberto Castillo <gilberto.castillo@etecsa.cu>
  parent: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
  1 sibling, 0 replies; 3+ messages in thread

From: Gilberto Castillo @ 2016-09-23 15:14 UTC (permalink / raw)
  To: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>; +Cc: pgsql-admin


> Hello,
>
> I wonder which locale to choose for the PostgreSQL server itself.
>
> C for performance or a UTF-8 locale for compatibility?
>
> Especially if there are LATIN1- and UTF-8 databases etc. ...
>
> I did not find any articles discussing this.
>
> Could you tell me, please?
>
> Thank you very much,
>
> Peter

Use UTF-8




-- 
Saludos,
Gilberto Castillo
ETECSA, La Habana, Cuba



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-09-23 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 14:07 Recommended cluster locale (initdb)? Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
2016-09-23 14:22 ` Vladimir Borodin <root@simply.name>
2016-09-23 15:14 ` Gilberto Castillo <gilberto.castillo@etecsa.cu>

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