Monday, March 20, 2017

[google-cloud-sql-discuss] Create Locales or change Template1 locale

Hi,
I'm trying to create a new postgresql database, but I cannot use the spanish Location. I've tried this:
create database mydb with ENCODING = 'UTF-8' LC_CTYPE = 'es_ES' LC_COLLATE = 'es_ES';

But I get an error: invalid Locale Name es_ES
How do I create it?
I've tried this:

postgres=> create collation es (locale="es_ES.utf8");ERROR: could not create locale "es_ES.utf8": Success
As you can say, it says Success, but also I get the error.How should I proceed?
Thank you.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/afdd7671-3a2c-4d5c-b4ea-5fee7bc91b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment