From 16e085e3d35b686a23a9d1b69e86654ed79e9bf3 Mon Sep 17 00:00:00 2001
From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com>
Date: Wed, 15 Jan 2025 10:12:37 +0530
Subject: [PATCH 1/2] EPAS -16 and 17 - Fixed typos
Addresses [Docs-1160](https://enterprisedb.atlassian.net/browse/DOCS-1160)
---
.../epas_compat_sql/01_alter_capture_privilege.mdx | 2 +-
.../epas_compat_sql/01_alter_capture_privilege.mdx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/product_docs/docs/epas/16/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx b/product_docs/docs/epas/16/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx
index 6ebca185730..aa54723991f 100644
--- a/product_docs/docs/epas/16/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx
+++ b/product_docs/docs/epas/16/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx
@@ -6,7 +6,7 @@ EDB Postgres Advanced Server includes extra syntax not offered by Oracle with th
## Name
-`ALTER CAPTURE PRIVILEGES POLICY` — Allows a superuser or a user with `CAPTURE_ADMIN` role to modify the attributes of the capture privilege poilicy.
+`ALTER CAPTURE PRIVILEGES POLICY` — Allows a superuser or a user with `CAPTURE_ADMIN` role to modify the attributes of the capture privilege policy.
## Synopsis
diff --git a/product_docs/docs/epas/17/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx b/product_docs/docs/epas/17/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx
index 6ebca185730..aa54723991f 100644
--- a/product_docs/docs/epas/17/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx
+++ b/product_docs/docs/epas/17/reference/oracle_compatibility_reference/epas_compat_sql/01_alter_capture_privilege.mdx
@@ -6,7 +6,7 @@ EDB Postgres Advanced Server includes extra syntax not offered by Oracle with th
## Name
-`ALTER CAPTURE PRIVILEGES POLICY` — Allows a superuser or a user with `CAPTURE_ADMIN` role to modify the attributes of the capture privilege poilicy.
+`ALTER CAPTURE PRIVILEGES POLICY` — Allows a superuser or a user with `CAPTURE_ADMIN` role to modify the attributes of the capture privilege policy.
## Synopsis
From e30f89991d1f379d75252b4ae14778ac66ae2e0f Mon Sep 17 00:00:00 2001
From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com>
Date: Wed, 15 Jan 2025 14:39:17 +0530
Subject: [PATCH 2/2] Removed index advisor components as per
https://enterprisedb.atlassian.net/browse/DOCS-1089
---
.../01_index_advisor_components.mdx | 42 -------------------
.../01_index_advisor_components.mdx | 42 -------------------
2 files changed, 84 deletions(-)
delete mode 100644 product_docs/docs/epas/16/reference/database_administrator_reference/01_index_advisor_components.mdx
delete mode 100644 product_docs/docs/epas/17/reference/database_administrator_reference/01_index_advisor_components.mdx
diff --git a/product_docs/docs/epas/16/reference/database_administrator_reference/01_index_advisor_components.mdx b/product_docs/docs/epas/16/reference/database_administrator_reference/01_index_advisor_components.mdx
deleted file mode 100644
index 12bb55f63f9..00000000000
--- a/product_docs/docs/epas/16/reference/database_administrator_reference/01_index_advisor_components.mdx
+++ /dev/null
@@ -1,42 +0,0 @@
----
-title: "Index Advisor components"
-description: "Description of the components of the Index Advisor shared library"
-redirects:
- - /epas/latest/epas_guide/03_database_administration/02_index_advisor/01_index_advisor_components/ #generated for docs/epas/reorg-role-use-case-mode
- - /epas/latest/managing_performance/02_index_advisor/01_index_advisor_components/
----
-
-
-
-The Index Advisor shared library interacts with the query planner to make indexing recommendations.
-
-On Windows, the EDB Postgres Advanced Server installer creates the shared library in the `libdir` subdirectory of your EDB Postgres Advanced Server home directory. The shared library is:
-
-## index_advisor.dll
-
-For Linux, install the `edb-as-server-indexadvisor` RPM package, where `` is the EDB Postgres Advanced Server version number. The shared library is:
-
-## index_advisor.so
-
-Only a superuser can load libraries in the `libdir` directory. A database administrator can allow a non-superuser to use Index Advisor by manually copying the Index Advisor file from the `libdir` directory into the `libdir/plugins` directory under your EDB Postgres Advanced Server home directory. Only allow a trusted non-superuser to have access to the plugin. This is an unsafe practice in a production environment.
-
-The installer also creates the Index Advisor utility program and setup script:
-
-## pg_advise_index
-
- A utility program that reads a user-supplied input file containing SQL queries and produces a text file containing `CREATE INDEX` statements. You can use these statements to create the indexes recommended by the Index Advisor. The `pg_advise_index` program is located in the `bin` subdirectory of the EDB Postgres Advanced Server home directory.
-
-!!! Note
- `pg_advise_index` asks the backend process to load the index_advisor plugin first from `$libdir/plugins`. If not found, then it writes the error in the server log file and attempts to load from `$libdir`.
-
-## index_advisor_log
-
- Index Advisor logs indexing recommendations in the `index_advisor_log` table. If Index Advisor doesn't find the `index_advisor_log` table in the user's search path, it stores any indexing recommendations in a temporary table of the same name. The temporary table exists only for rest of the current session.
-
-## show_index_recommendations()
-
- A PL/pgSQL function that interprets and displays the recommendations made during a specific Index Advisor session, as identified by its backend process ID.
-
-## index_recommendations
-
- Index Advisor creates the `index_recommendations` view based on information stored in the `index_advisor_log` table during a query analysis. The view produces output in the same format as the `show_index_recommendations()` function but contains Index Advisor recommendations for all stored sessions. The result set returned by the `show_index_recommendations()` function is limited to a specified session.
diff --git a/product_docs/docs/epas/17/reference/database_administrator_reference/01_index_advisor_components.mdx b/product_docs/docs/epas/17/reference/database_administrator_reference/01_index_advisor_components.mdx
deleted file mode 100644
index 12bb55f63f9..00000000000
--- a/product_docs/docs/epas/17/reference/database_administrator_reference/01_index_advisor_components.mdx
+++ /dev/null
@@ -1,42 +0,0 @@
----
-title: "Index Advisor components"
-description: "Description of the components of the Index Advisor shared library"
-redirects:
- - /epas/latest/epas_guide/03_database_administration/02_index_advisor/01_index_advisor_components/ #generated for docs/epas/reorg-role-use-case-mode
- - /epas/latest/managing_performance/02_index_advisor/01_index_advisor_components/
----
-
-
-
-The Index Advisor shared library interacts with the query planner to make indexing recommendations.
-
-On Windows, the EDB Postgres Advanced Server installer creates the shared library in the `libdir` subdirectory of your EDB Postgres Advanced Server home directory. The shared library is:
-
-## index_advisor.dll
-
-For Linux, install the `edb-as-server-indexadvisor` RPM package, where `` is the EDB Postgres Advanced Server version number. The shared library is:
-
-## index_advisor.so
-
-Only a superuser can load libraries in the `libdir` directory. A database administrator can allow a non-superuser to use Index Advisor by manually copying the Index Advisor file from the `libdir` directory into the `libdir/plugins` directory under your EDB Postgres Advanced Server home directory. Only allow a trusted non-superuser to have access to the plugin. This is an unsafe practice in a production environment.
-
-The installer also creates the Index Advisor utility program and setup script:
-
-## pg_advise_index
-
- A utility program that reads a user-supplied input file containing SQL queries and produces a text file containing `CREATE INDEX` statements. You can use these statements to create the indexes recommended by the Index Advisor. The `pg_advise_index` program is located in the `bin` subdirectory of the EDB Postgres Advanced Server home directory.
-
-!!! Note
- `pg_advise_index` asks the backend process to load the index_advisor plugin first from `$libdir/plugins`. If not found, then it writes the error in the server log file and attempts to load from `$libdir`.
-
-## index_advisor_log
-
- Index Advisor logs indexing recommendations in the `index_advisor_log` table. If Index Advisor doesn't find the `index_advisor_log` table in the user's search path, it stores any indexing recommendations in a temporary table of the same name. The temporary table exists only for rest of the current session.
-
-## show_index_recommendations()
-
- A PL/pgSQL function that interprets and displays the recommendations made during a specific Index Advisor session, as identified by its backend process ID.
-
-## index_recommendations
-
- Index Advisor creates the `index_recommendations` view based on information stored in the `index_advisor_log` table during a query analysis. The view produces output in the same format as the `show_index_recommendations()` function but contains Index Advisor recommendations for all stored sessions. The result set returned by the `show_index_recommendations()` function is limited to a specified session.