| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/postgres-howto.xml,v 1.8 2011/09/04 17:53:40 swift Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/postgres-howto.xml,v 1.9 2011/09/15 20:36:20 swift Exp $ --> |
| 4 | |
4 | |
| 5 | <guide lang="en"> |
5 | <guide lang="en"> |
| 6 | <title>PostgreSQL Quick Start Guide</title> |
6 | <title>PostgreSQL Quick Start Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| … | |
… | |
| 21 | |
21 | |
| 22 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
22 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 23 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
23 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 24 | <license/> |
24 | <license/> |
| 25 | |
25 | |
| 26 | <version>8</version> |
26 | <version>9</version> |
| 27 | <date>2011-08-08</date> |
27 | <date>2011-09-15</date> |
| 28 | |
28 | |
| 29 | <chapter> |
29 | <chapter> |
| 30 | <title>Introduction</title> |
30 | <title>Introduction</title> |
| 31 | <section> |
31 | <section> |
| 32 | <title>A Little Bit About PostgreSQL</title> |
32 | <title>A Little Bit About PostgreSQL</title> |
| … | |
… | |
| 326 | keep the major version in the path. <e>PG_INITDB_OPTS</e> states that the |
326 | keep the major version in the path. <e>PG_INITDB_OPTS</e> states that the |
| 327 | default locale should be <e>en_US.UTF-8</e>. That is, U.S. English ordering and |
327 | default locale should be <e>en_US.UTF-8</e>. That is, U.S. English ordering and |
| 328 | formatting, and UTF-8 character encoding. |
328 | formatting, and UTF-8 character encoding. |
| 329 | </p> |
329 | </p> |
| 330 | |
330 | |
| 331 | <pre caption="Example contents of /etc/conf.d/postgresql-8.4"> |
331 | <pre caption="Example contents of /etc/conf.d/postgresql-9.0"> |
| 332 | <comment># Location of configuration files</comment> |
332 | <comment># Location of configuration files</comment> |
| 333 | PGDATA="/etc/postgresql-9.0/" |
333 | PGDATA="/etc/postgresql-9.0/" |
| 334 | |
334 | |
| 335 | <comment># Where the data directory is located/to be created</comment> |
335 | <comment># Where the data directory is located/to be created</comment> |
| 336 | DATA_DIR="/var/lib/postgresql/9.0/data" |
336 | DATA_DIR="/var/lib/postgresql/9.0/data" |