From 887c8f88f61d3e7477bb43057c2230c29344ca41 Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:42:06 -0500 Subject: [PATCH 1/3] add postgrest extension --- advocacy_docs/pg_extensions/index.mdx.in | 1 + .../pg_extensions/postgrest/configuring.mdx | 7 ++ .../pg_extensions/postgrest/index.mdx | 19 +++++ .../pg_extensions/postgrest/installing.mdx | 71 +++++++++++++++++++ .../pg_extensions/postgrest/using.mdx | 6 ++ 5 files changed, 104 insertions(+) create mode 100644 advocacy_docs/pg_extensions/postgrest/configuring.mdx create mode 100644 advocacy_docs/pg_extensions/postgrest/index.mdx create mode 100644 advocacy_docs/pg_extensions/postgrest/installing.mdx create mode 100644 advocacy_docs/pg_extensions/postgrest/using.mdx diff --git a/advocacy_docs/pg_extensions/index.mdx.in b/advocacy_docs/pg_extensions/index.mdx.in index 0b25a3cd731..4a001cebba9 100644 --- a/advocacy_docs/pg_extensions/index.mdx.in +++ b/advocacy_docs/pg_extensions/index.mdx.in @@ -11,6 +11,7 @@ navigation: - wait_states - pg_failover_slots - pg_squeeze + - postgrest - system_stats - wal2json - "#EDB Postgres Advanced Server only" diff --git a/advocacy_docs/pg_extensions/postgrest/configuring.mdx b/advocacy_docs/pg_extensions/postgrest/configuring.mdx new file mode 100644 index 00000000000..42bf738bd8c --- /dev/null +++ b/advocacy_docs/pg_extensions/postgrest/configuring.mdx @@ -0,0 +1,7 @@ +--- +title: Configuring postgREST +navTitle: Configuring +--- + +Once you have postgREST installted, no other configuration steps are required. + diff --git a/advocacy_docs/pg_extensions/postgrest/index.mdx b/advocacy_docs/pg_extensions/postgrest/index.mdx new file mode 100644 index 00000000000..0a054cde9bb --- /dev/null +++ b/advocacy_docs/pg_extensions/postgrest/index.mdx @@ -0,0 +1,19 @@ +--- +title: 'postgREST' +indexCards: none +directoryDefaults: + product: postgREST +navigation: + - installing + - configuring + - using +--- + +`postgREST` is a standalone web server that allows a PostgreSQL database to function as a RESTful API. The API can be customized based on the database schema. + + +For more information about `postgREST`, see: + +- [Installing postgREST](installing.mdx) +- [Configuring postgREST](configuring.mdx) +- [Using postgREST](using.mdx) \ No newline at end of file diff --git a/advocacy_docs/pg_extensions/postgrest/installing.mdx b/advocacy_docs/pg_extensions/postgrest/installing.mdx new file mode 100644 index 00000000000..e32aae06b3d --- /dev/null +++ b/advocacy_docs/pg_extensions/postgrest/installing.mdx @@ -0,0 +1,71 @@ +--- +title: Installing postgREST +navTitle: Installing +--- + +`postgREST` is supported on the same platforms as the Postgres distribution you're using. Support for `postgREST` starts with Postgres 12. For details, see: + +- [EDB Postgres Advanced Server Product Compatibility](https://www.enterprisedb.com/platform-compatibility#epas) +- [PostgreSQL Product Compatibility](https://www.enterprisedb.com/resources/platform-compatibility#pg) +- [EDB Postgres Extended Server Product Compatibility](https://www.enterprisedb.com/resources/platform-compatibility#epas_extended) + +## Installation + +Before you begin the installation process: + +- Install Postgres. See: + + - [Installing EDB Postgres Advanced Server](/epas/latest/installing/) + + - [Installing PostgreSQL](https://www.postgresql.org/download/) + + - [Installing EDB Postgres Extended Server](/pge/latest/installing/) + +- Set up the repository. + + Setting up the repository is a one-time task. If you've already set up your repository, you don't need to perform this step. + + To set up the repository, go to [EDB repositories](https://www.enterprisedb.com/repos-downloads) and follow the instructions provided there. + +## Install the package + +The syntax for the package install command is: + +```shell +# For SLES, CentOS, RHEL and its derivatives +sudo -y install edb--postgrest2 + +# For Debian and Ubuntu +sudo -y install edb--postgrest2 +``` + +Where: +- ``is the package manager used with your operating system: + + | Package manager | Operating system | + | --------------- | -------------------------------- | + | dnf | RHEL 8/9 and derivatives | + | yum | RHEL 7 and derivatives, CentOS 7 | + | zypper | SLES | + | apt-get | Debian and derivatives | + +- `` is the distribution of Postgres you're using: + + | Postgres distribution | Value | + | ---------------------------- | ---------- | + | PostgreSQL | pg | + | EDB Postgres Advanced Server | as | + | EDB Postgres Extended Server | postgresextended | + +- `` is the version of Postgres you're using. + +For example, to install postgREST for EDB Postgres Advanced Server 15 on a RHEL 8 platform: + +```shell +sudo dnf -y install edb-as15-postgrest2 +``` + + + + + diff --git a/advocacy_docs/pg_extensions/postgrest/using.mdx b/advocacy_docs/pg_extensions/postgrest/using.mdx new file mode 100644 index 00000000000..809efac98dd --- /dev/null +++ b/advocacy_docs/pg_extensions/postgrest/using.mdx @@ -0,0 +1,6 @@ +--- +title: Using postgREST +navTitle: Using +--- + +For more information about using `postgREST`, see the [PostgREST documentation](https://postgrest.org/en/stable/index.html). \ No newline at end of file From 09631fbf51cb1276b59eb34ae0f78906f034d33c Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:09:15 -0500 Subject: [PATCH 2/3] fix typo --- advocacy_docs/pg_extensions/index.mdx | 6 +++++- advocacy_docs/pg_extensions/postgrest/configuring.mdx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/advocacy_docs/pg_extensions/index.mdx b/advocacy_docs/pg_extensions/index.mdx index 1903da37d64..eafe4433649 100644 --- a/advocacy_docs/pg_extensions/index.mdx +++ b/advocacy_docs/pg_extensions/index.mdx @@ -11,6 +11,7 @@ navigation: - wait_states - pg_failover_slots - pg_squeeze + - postgrest - system_stats - wal2json - "#EDB Postgres Advanced Server only" @@ -91,13 +92,14 @@ Categories of extensions: xml2Yes PostgreSQL Non-Contrib Extensions/Modules ip4r––––––– +orafce––––––– pg_cron–– pg_failover_slots pg_permissions––––––– pg_squeeze–– pg_store_plans––––––– pgauditYes–– -pglogical 2.x–––––– +pglogical 2.x––––– pgsnmpd (11-13)––––– pgvector–– plperl–– @@ -118,6 +120,7 @@ Categories of extensions:     ltree_plpython3uYes–– pltcl––     pltcluYes–– +plv8Yes––––––– set_user––––––– sslutils––––– system_stats––––– @@ -135,6 +138,7 @@ Categories of extensions: sql_profiler–– EDB Storage Pack autocluster––– +bluefin–– refdata––– EDB Postgres Advanced Server extensions dbms_job––––––– diff --git a/advocacy_docs/pg_extensions/postgrest/configuring.mdx b/advocacy_docs/pg_extensions/postgrest/configuring.mdx index 42bf738bd8c..98581bee190 100644 --- a/advocacy_docs/pg_extensions/postgrest/configuring.mdx +++ b/advocacy_docs/pg_extensions/postgrest/configuring.mdx @@ -3,5 +3,5 @@ title: Configuring postgREST navTitle: Configuring --- -Once you have postgREST installted, no other configuration steps are required. +Once you have postgREST installed, no other configuration steps are required. From f4e4ade3710a030a35556774ed7843ee4b87bb82 Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:48:52 -0500 Subject: [PATCH 3/3] remove unsupported RHEL7, EPAS, ES --- .../pg_extensions/postgrest/installing.mdx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/advocacy_docs/pg_extensions/postgrest/installing.mdx b/advocacy_docs/pg_extensions/postgrest/installing.mdx index e32aae06b3d..df102a433f1 100644 --- a/advocacy_docs/pg_extensions/postgrest/installing.mdx +++ b/advocacy_docs/pg_extensions/postgrest/installing.mdx @@ -5,9 +5,7 @@ navTitle: Installing `postgREST` is supported on the same platforms as the Postgres distribution you're using. Support for `postgREST` starts with Postgres 12. For details, see: -- [EDB Postgres Advanced Server Product Compatibility](https://www.enterprisedb.com/platform-compatibility#epas) - [PostgreSQL Product Compatibility](https://www.enterprisedb.com/resources/platform-compatibility#pg) -- [EDB Postgres Extended Server Product Compatibility](https://www.enterprisedb.com/resources/platform-compatibility#epas_extended) ## Installation @@ -15,12 +13,8 @@ Before you begin the installation process: - Install Postgres. See: - - [Installing EDB Postgres Advanced Server](/epas/latest/installing/) - - [Installing PostgreSQL](https://www.postgresql.org/download/) - - [Installing EDB Postgres Extended Server](/pge/latest/installing/) - - Set up the repository. Setting up the repository is a one-time task. If you've already set up your repository, you don't need to perform this step. @@ -45,7 +39,6 @@ Where: | Package manager | Operating system | | --------------- | -------------------------------- | | dnf | RHEL 8/9 and derivatives | - | yum | RHEL 7 and derivatives, CentOS 7 | | zypper | SLES | | apt-get | Debian and derivatives | @@ -54,15 +47,13 @@ Where: | Postgres distribution | Value | | ---------------------------- | ---------- | | PostgreSQL | pg | - | EDB Postgres Advanced Server | as | - | EDB Postgres Extended Server | postgresextended | - `` is the version of Postgres you're using. -For example, to install postgREST for EDB Postgres Advanced Server 15 on a RHEL 8 platform: +For example, to install postgREST for EDB Postgres 15 on a RHEL 8 platform: ```shell -sudo dnf -y install edb-as15-postgrest2 +sudo dnf -y install edb-pg15-postgrest2 ```