Re: Encoding change actually works)

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: marc+pgsql(at)milestonerdl(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: Encoding change actually works)
Date: 2017-02-02 20:00:29
Message-ID: 52fe192f-99b1-e916-e5ce-c4e086d163d2@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 6/27/16 4:24 AM, marc+pgsql(at)milestonerdl(dot)com wrote:
> https://www.postgresql.org/docs/9.4/static/sql-createdatabase.html
>
> Says:
> CREATE DATABASE music ENCODING &#39;LATIN1&#39; TEMPLATE template0;
>
> that did not work. Whereas:
>
> CREATE DATABASE music ENCODING &#39;LATIN1&#39; TEMPLATE template0 LC_COLLATE=&#39;C&#39;
> LC_CTYPE=&#39;C&#39;;
>
> sure DOES seem to work.

How about the attached patch with some refreshed examples?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-doc-Update-CREATE-DATABASE-examples.patch text/x-patch 2.3 KB

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message postgresql 2017-02-02 20:49:35 CREATE DOMAIN should also include an example of use with functions
Previous Message Jürgen Purtz 2017-01-28 13:15:14 Re: Parallel Query