- Notifications
You must be signed in to change notification settings - Fork15
Remove the obsolete text from the doc#65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
5 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
11 changes: 9 additions & 2 deletionsdoc/functions.sgm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
201 changes: 89 additions & 112 deletionsdoc/install.sgm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,123 +1,100 @@ | ||
<chapter id="install"> | ||
<title>Installation</title> | ||
<sect1 id="install-download"> | ||
<title>Download</title> | ||
<para> | ||
&pgsphere; is not the part of the &postgresql; software. You can download | ||
the latest release from the | ||
<ulink url="&pgsphereurl;">&pgsphere; Releases page</ulink>. | ||
The source code can also be downloaded by cloning the repository with the | ||
appropriate release tag. The master branch is intended for development | ||
use and may contain the code in a transitional state. It is not recommended | ||
for use in production. | ||
</para> | ||
</sect1> | ||
<sect1 id="install-build"> | ||
<title>Install</title> | ||
<para> | ||
It is assumed that &postgresql; is already installed. Depending on the | ||
system configuration, superuser (root) access rights may be required to | ||
complete the installation. | ||
</para> | ||
<para> | ||
The installation script uses &pg_config; utility. Make sure that the | ||
environment variable PATH includes path to &pg_config; utility. The path | ||
to &pg_config; can be also specified in make command: | ||
<programlisting> | ||
<![CDATA[shell> make PG_CONFIG=/path/to/pgconfig ...]]> | ||
</programlisting> | ||
</para> | ||
<para>Unpack the downloaded archive and enter the directory:</para> | ||
<programlisting> | ||
<![CDATA[shell> tar -xzf path/to/pgsphere-X.X.X.tgz]]> | ||
<![CDATA[shell> cd pgsphere-X.X.X]]> | ||
</programlisting> | ||
<para> | ||
Compile the code. By default, &pgsphere; is compiled with &healpix; support. | ||
</para> | ||
<programlisting> | ||
<![CDATA[shell> make]]> | ||
</programlisting> | ||
<para>or compile without &healpix; support:</para> | ||
<programlisting> | ||
<![CDATA[shell> make USE_HEALPIX=0]]> | ||
</programlisting> | ||
<para> | ||
Run regression tests optionally. If &pgsphere; was compiled without &healpix; | ||
support, USE_HEALPIX=0 should be specified in make command line. | ||
</para> | ||
<programlisting> | ||
<![CDATA[shell> make test]]> | ||
</programlisting> | ||
<para> | ||
Install &pgsphere; files to the installation directories. The installation | ||
directories are defined by &pg_config; utility. Superuser (root) access | ||
rights may be required. If &pgsphere; was compiled without &healpix; support, | ||
USE_HEALPIX=0 should be added after make. | ||
</para> | ||
<programlisting> | ||
<![CDATA[shell> make install]]> | ||
</programlisting> | ||
</sect1> | ||
<sect1 id="install-sect3"> | ||
<title>Configure Extension</title> | ||
<para> | ||
We assume you have already created a database <database>userdb</database>, | ||
where <database>userdb</database> is the name of any database. Assume that | ||
the name of &postgresql;'s superuser is <parameter>postgres</parameter>. | ||
</para> | ||
<programlisting> | ||
<![CDATA[shell> psql -U postgres -c 'CREATE EXTENSION pg_sphere' userdb]]> | ||
</programlisting> | ||
<para> | ||
It may be necessary to give more <command>psql</command> options, like port | ||
or host name, depending on your system configuration. Please, take a look at | ||
the psql user manual for details. The psql user manual for the latest | ||
&postgresql; version can be found at | ||
<ulink url="https://www.postgresql.org/docs/current/app-psql.html"> | ||
&postgresql; site | ||
</ulink>. | ||
</para> | ||
<para>To get the version of installed &pgsphere; software:</para> | ||
<programlisting> | ||
<![CDATA[pgsql> SELECT pg_sphere_version();]]> | ||
</programlisting> | ||
</sect1> | ||
</chapter> |
7 changes: 5 additions & 2 deletionsdoc/pg_sphere.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.