|
9 | 9 | <para>
|
10 | 10 | <application>pgSphere</application> is not part of the <application>PostgreSQL</application> software.
|
11 | 11 | You can download it from the <application>pgSphere</application> homepage
|
12 |
| - <ulink url="http://pgfoundry.org/projects/pgsphere/"><citetitle>http://pgfoundry.org/projects/pgsphere/</citetitle></ulink> |
| 12 | + <ulink url="https://github.com/akorotkov/pgsphere"><citetitle>https://github.com/akorotkov/pgsphere</citetitle></ulink> |
13 | 13 | </para>
|
14 | 14 | </sect2>
|
15 | 15 |
|
|
19 | 19 | </title>
|
20 | 20 | <para>
|
21 | 21 | You will need <application>PostgreSQL
|
22 |
| - 7.3</application> or above. We assume that you have |
| 22 | + 9.1</application> or above. We assume that you have |
23 | 23 | <application>PostgreSQL</application> already compiled and
|
24 | 24 | installed. Please note: Depending on your system configuration mostly you have to be logged in as the system
|
25 | 25 | superuser.
|
|
97 | 97 | <para>
|
98 | 98 | We assume you have already created a database
|
99 | 99 | <database>datab</database>, where <database>datab</database>
|
100 |
| - is the name of any database. Now change into the directory |
101 |
| - <filename>POSTGRESQL_INSTALL_PATH/share/contrib</filename>. |
| 100 | + is the name of any database. |
102 | 101 | Presupposing the name of your
|
103 | 102 | <application>PostgreSQL</application>'s superuser is
|
104 |
| - <parameter>postgres</parameter> type: |
| 103 | + <parameter>postgres</parameter>, type: |
105 | 104 | </para>
|
106 | 105 | <programlisting>
|
107 |
| -<![CDATA[shell> psql -U postgres datab < pg_sphere.sql]]> |
| 106 | +<![CDATA[shell> psql -U postgres -c 'CREATE EXTENSION pg_sphere;' datab]]> |
108 | 107 | </programlisting>
|
109 | 108 | <para>
|
110 | 109 | Depending on your system, it may be necessary to give more
|
|
118 | 117 | call:
|
119 | 118 | </para>
|
120 | 119 | <programlisting>
|
121 |
| -<![CDATA[pgsql> SELECT pg_sphere_version()]]> |
| 120 | +<![CDATA[pgsql> SELECT pg_sphere_version();]]> |
122 | 121 | </programlisting>
|
123 | 122 | </sect2>
|
124 | 123 |
|
|
0 commit comments