doc: Update CREATE DATABASE examples

Peter Eisentraut <peter_e@gmx.net>

Commit: 549f74733f45804cd3180de853e5d0610eecc22f
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-02-06T16:55:39Z
Releases: 10.0
doc: Update CREATE DATABASE examples

The example of using CREATE DATABASE with the ENCODING option did not
work anymore (except in special circumstances) and did not represent a
good general-purpose example, so write some new examples.

Reported-by: marc+pgsql@milestonerdl.com

Files

PathChange+/−
doc/src/sgml/ref/create_database.sgml modified +23 −7

Documentation touched