We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentaa740b5 commitc709b11Copy full SHA for c709b11
doc/src/sgml/ref/createdb.sgml
@@ -363,11 +363,11 @@ PostgreSQL documentation
363
<para>
364
To create the database <literal>demo</literal> using the
365
server on host <literal>eden</>, port 5000, using the
366
- <literal>LATIN1</literal>encoding scheme with a look at the
367
- underlying command:
+ <literal>template0</literal>template database, here is the
+command-line command and theunderlying SQL command:
368
<screen>
369
-<prompt>$ </prompt><userinput>createdb -p 5000 -h eden -E LATIN1 -e demo</userinput>
370
-<computeroutput>CREATE DATABASE demoENCODING 'LATIN1';</computeroutput>
+<prompt>$ </prompt><userinput>createdb -p 5000 -h eden -T template0 -e demo</userinput>
+<computeroutput>CREATE DATABASE demoTEMPLATE template0;</computeroutput>
371
</screen></para>
372
</refsect1>
373