File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -363,11 +363,11 @@ PostgreSQL documentation
363363 <para>
364364 To create the database <literal>demo</literal> using the
365365 server on host <literal>eden</>, port 5000, using the
366- <literal>LATIN1 </literal> encoding scheme with a look at the
367- underlying command:
366+ <literal>template0 </literal> template database, here is the
367+ command-line command and the underlying SQL command:
368368<screen>
369- <prompt>$ </prompt><userinput>createdb -p 5000 -h eden -E LATIN1 -e demo</userinput>
370- <computeroutput>CREATE DATABASE demo ENCODING 'LATIN1' ;</computeroutput>
369+ <prompt>$ </prompt><userinput>createdb -p 5000 -h eden -T template0 -e demo</userinput>
370+ <computeroutput>CREATE DATABASE demo TEMPLATE template0 ;</computeroutput>
371371</screen></para>
372372 </refsect1>
373373
You can’t perform that action at this time.
0 commit comments