Skip to content

Commit

Permalink
PG-1300 Added PostGIS from tarballs
Browse files Browse the repository at this point in the history
modified:   docs/solutions/postgis-deploy.md
	modified:   docs/tarball.md
  • Loading branch information
nastena1606 committed Feb 12, 2025
1 parent 3ca270c commit f98033f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/solutions/postgis-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ The following document provides guidelines how to install PostGIS and how to run
FROM pg_available_extensions WHERE name LIKE 'postgis%' or name LIKE 'address%';
```

<<<<<<< HEAD
=======
=== ":octicons-download-16: From tarballs"

PostGIS is included into binary tarball and is a part of the `percona-postgresql{{pgversion}}` binary. Use the [install from tarballs](../tarball/.md) tutorial to install it.


>>>>>>> 4059fe1b... PG-1300 Added PostGIS from tarballs
## Enable PostGIS extension

1. Create a database and a schema for this database to store your data. A schema is a container that logically segments objects (tables, functions, views, and so on) for better management. Run the following commands from the `psql` terminal:
Expand Down
8 changes: 6 additions & 2 deletions docs/tarball.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ The tarballs include the following components:

| Component | Description |
|-----------|-------------|
<<<<<<< HEAD
| percona-postgresql{{pgversion}}| The latest version of PostgreSQL server and the following extensions: <br> - `pgaudit` <br> - `pgAudit_set_user` <br> - `pg_repack` <br> - `pg_stat_monitor` <br> - `pg_gather` <br> - `wal2json` <br> - `pgvector` <br> - the set of [contrib extensions](contrib.md)|
=======
| percona-postgresql{{pgversion}}| The latest version of PostgreSQL server and the following extensions: <br> - `pgaudit` <br> - `pgAudit_set_user` <br> - `pg_repack` <br> - `pg_stat_monitor` <br> - `pg_gather` <br> - `wal2json` <br> - `postGIS` <br> - the set of [contrib extensions](contrib.md)|
>>>>>>> 4059fe1b... PG-1300 Added PostGIS from tarballs
| percona-haproxy | A high-availability solution and load-balancing solution |
| percona-patroni | A high-availability solution for PostgreSQL |
| percona-pgbackrest| A backup and restore tool |
Expand Down Expand Up @@ -148,7 +152,7 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
12. Connect to `psql`
```{.bash data-prompt="$"}
$ /opt/pgdistro/percona-postgresql{{pgversion}}/bin/psql
$ /opt/pgdistro/percona-postgresql{{pgversion}}/bin/psql -d postgres
```
??? example "Sample output"
Expand All @@ -160,7 +164,7 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
postgres=#
```
### Start the components
## Start the components
After you unpacked the tarball and added the location of the components' binaries to the `$PATH` variable, the components are available for use. You can invoke a component by running its command-line tool.

Expand Down

0 comments on commit f98033f

Please sign in to comment.