nightmorph 12/05/04 06:44:35 Modified: postgres-howto.xml Log: update postgres instrumentation functions for multiple versions, bug 414415
Revision Changes Path 1.10 xml/htdocs/doc/en/postgres-howto.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/postgres-howto.xml?rev=1.10&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/postgres-howto.xml?rev=1.10&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/postgres-howto.xml?r1=1.9&r2=1.10 Index: postgres-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/postgres-howto.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- postgres-howto.xml 15 Sep 2011 20:36:20 -0000 1.9 +++ postgres-howto.xml 4 May 2012 06:44:35 -0000 1.10 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/postgres-howto.xml,v 1.9 2011/09/15 20:36:20 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/postgres-howto.xml,v 1.10 2012/05/04 06:44:35 nightmorph Exp $ --> -<guide lang="en"> +<guide> <title>PostgreSQL Quick Start Guide</title> <author title="Author"> @@ -23,8 +23,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>9</version> -<date>2011-09-15</date> +<version>10</version> +<date>2012-05-04</date> <chapter> <title>Introduction</title> @@ -823,16 +823,21 @@ <body> <p> -This problem is easy to solve. What is difficult about it is finding the -answer. What is required is an import from a file that already exists on the -storage drive: <path>adminpack.sql</path>. To resolve this issue, run this -command: +This problem is easy to solve, with the solution depending on the version you +are using. What is difficult about it is finding the answer. What is required is +an import from a file that already exists on the storage drive: +<path>adminpack.sql</path>. To resolve this issue, run the command appropriate +to the version you have: </p> -<pre caption="Command to Add Instrumentation Functions"> +<pre caption="Add instrumentation functions for versions less than 9.1"> # <i>psql -U postgres --file /usr/share/postgresql-9.0/contrib/adminpack.sql</i> </pre> +<pre caption="Add instrumentation functions for version 9.1 and up"> +# <i>psql -U postgres -c "CREATE EXTENSION adminpack;"</i> +</pre> + </body> </section> </chapter>
