Encoding change actually works)

Started by Nonamealmost 10 years ago2 messagesdocs
Jump to latest
#1Noname
marc+pgsql@milestonerdl.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/sql-createdatabase.html
Description:

https://www.postgresql.org/docs/9.4/static/sql-createdatabase.html

Says:
CREATE DATABASE music ENCODING 'LATIN1' TEMPLATE template0;

that did not work. Whereas:

CREATE DATABASE music ENCODING 'LATIN1' TEMPLATE template0 LC_COLLATE='C'
LC_CTYPE='C';

sure DOES seem to work.

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Noname (#1)
Re: Encoding change actually works)

On 6/27/16 4:24 AM, marc+pgsql@milestonerdl.com wrote:

https://www.postgresql.org/docs/9.4/static/sql-createdatabase.html

Says:
CREATE DATABASE music ENCODING 'LATIN1' TEMPLATE template0;

that did not work. Whereas:

CREATE DATABASE music ENCODING 'LATIN1' TEMPLATE template0 LC_COLLATE='C'
LC_CTYPE='C';

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

Attachments:

0001-doc-Update-CREATE-DATABASE-examples.patchtext/x-patch; name=0001-doc-Update-CREATE-DATABASE-examples.patchDownload+23-8