@@ -23,8 +23,8 @@ UNREGISTER(
| Attribute | Type | Description |
| ----------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name` | VARCHAR2 (128) | The (optionally schema-qualified) name of the subscription. |
-| `namespace` | NUMERIC | The only supported value is `DBMS_AQ.NAMESPACE_AQ (0)` |
-| `callback` | VARCHAR2 (4000) | Describes the action to perform on notification. Currently, only calls to PL/SQL procedures are supported. The call should take the form:
schema specifies the schema in which the procedure resides.
procedure specifies the name of the procedure to notify. |
+| `namespace` | NUMERIC | The only supported value is `DBMS_AQ.NAMESPACE_AQ (0)`. |
+| `callback` | VARCHAR2 (4000) | Describes the action to perform on notification. Currently, only calls to PL/SQL procedures are supported. The call taked the form:
schema specifies the schema in which the procedure resides.
procedure specifies the name of the procedure to notify. |
| `context` | RAW (16) | Any user-defined value required by the procedure. |
`count`
@@ -57,4 +57,4 @@ subscription2, subscription3);
/
```
-The `subscriptionlist` is of type `sys.aq$_reg_info_list`, and contains the previously described `sys.aq$_reg_info` objects. The list name and an object count are passed to `dbms_aq.unregister`.
+The `subscriptionlist` is of type `sys.aq$_reg_info_list` and contains `sys.aq$_reg_info` objects. The list name and an object count are passed to `dbms_aq.unregister`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/02_dbms_aq/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/02_dbms_aq/index.mdx
index 5c704f4156a..e3629e1ea24 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/02_dbms_aq/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/02_dbms_aq/index.mdx
@@ -5,9 +5,9 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/database-compatibility-for-oracle-developers-built-in-package-guide/9.6/Database_Compatibility_for_Oracle_Developers_Built-in_Package_Guide.1.13.html"
---
-EDB Postgres Advanced Server Advanced Queueing provides message queueing and message processing for the EDB Postgres Advanced Server database. User-defined messages are stored in a queue; a collection of queues is stored in a queue table. Procedures in the `DBMS_AQADM` package create and manage message queues and queue tables. Use the `DBMS_AQ` package to add messages to a queue or remove messages from a queue, or register or unregister a PL/SQL callback procedure.
+EDB Postgres Advanced Server Advanced Queueing provides message queueing and message processing for the EDB Postgres Advanced Server database. User-defined messages are stored in a queue, and a collection of queues is stored in a queue table. Procedures in the `DBMS_AQADM` package create and manage message queues and queue tables. Use the `DBMS_AQ` package to add messages to or remove them from a queue or to register or unregister a PL/SQL callback procedure.
-EDB Postgres Advanced Server also provides extended (non-compatible) functionality for the `DBMS_AQ` package with SQL commands, see the *Database Compatibility for Oracle Developers SQL Guide* for detailed information about the following SQL commands:
+EDB Postgres Advanced Server also provides extended (noncompatible) functionality for the `DBMS_AQ` package with SQL commands. See the [Database Compatibility for Oracle Developers SQL](../../../epas_compat_sql) for detailed information about the following SQL commands:
- `ALTER QUEUE`
- `ALTER QUEUE TABLE`
@@ -27,26 +27,26 @@ The `DBMS_AQ` package provides procedures that allow you to enqueue a message, d
EDB Postgres Advanced Server's implementation of `DBMS_AQ` is a partial implementation when compared to Oracle's version. Only those procedures listed in the table above are supported.
-EDB Postgres Advanced Server supports use of the constants listed below:
+EDB Postgres Advanced Server supports use of these constants:
-| Constant | Description | For Parameters |
+| Constant | Description | For parameters |
| --------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| `DBMS_AQ.BROWSE (0)` | Read the message without locking. | `dequeue_options_t.dequeue_mode` |
| `DBMS_AQ.LOCKED (1)` | This constant is defined but returns an error if used. | `dequeue_options_t.dequeue_mode` |
-| `DBMS_AQ.REMOVE (2)` | Delete the message after reading; the default. | `dequeue_options_t.dequeue_mode` |
+| `DBMS_AQ.REMOVE (2)` | Delete the message after reading (the default). | `dequeue_options_t.dequeue_mode` |
| `DBMS_AQ.REMOVE_NODATA (3)` | This constant is defined but returns an error if used. | `dequeue_options_t.dequeue_mode` |
| `DBMS_AQ.FIRST_MESSAGE (0)` | Return the first available message that matches the search terms. | `dequeue_options_t.navigation` |
| `DBMS_AQ.NEXT_MESSAGE (1)` | Return the next available message that matches the search terms. | `dequeue_options_t.navigation` |
| `DBMS_AQ.NEXT_TRANSACTION (2)` | This constant is defined but returns an error if used. | `dequeue_options_t.navigation` |
-| `DBMS_AQ.FOREVER (-1)` | Wait forever if a message that matches the search term is not found, the default. | `dequeue_options_t.wait` |
-| `DBMS_AQ.NO_WAIT (0)` | Don't wait if a message that matches the search term is not found. | `dequeue_options_t.wait` |
+| `DBMS_AQ.FOREVER (-1)` | Wait forever if a message that matches the search term isn't found (the default). | `dequeue_options_t.wait` |
+| `DBMS_AQ.NO_WAIT (0)` | Don't wait if a message that matches the search term isn't found. | `dequeue_options_t.wait` |
| `DBMS_AQ.ON_COMMIT (0)` | The dequeue is part of the current transaction. | `enqueue_options_t.visibility, dequeue_options_t.visibility` |
| `DBMS_AQ.IMMEDIATE (1)` | This constant is defined but returns an error if used. | `enqueue_options_t.visibility, dequeue_options_t.visibility` |
-| `DBMS_AQ.PERSISTENT (0)` | The message should be stored in a table. | `enqueue_options_t.delivery_mode` |
+| `DBMS_AQ.PERSISTENT (0)` | Store the message in a table. | `enqueue_options_t.delivery_mode` |
| `DBMS_AQ.BUFFERED (1)` | This constant is defined but returns an error if used. | `enqueue_options_t.delivery_mode` |
| `DBMS_AQ.READY (0)` | Specifies that the message is ready to process. | `message_properties_t.state` |
| `DBMS_AQ.WAITING (1)` | Specifies that the message is waiting to be processed. | `message_properties_t.state` |
-| `DBMS_AQ.PROCESSED (2)` | Specifies that the message has been processed. | `message_properties_t.state` |
+| `DBMS_AQ.PROCESSED (2)` | Specifies that the message was processed. | `message_properties_t.state` |
| `DBMS_AQ.EXPIRED (3)` | Specifies that the message is in the exception queue. | `message_properties_t.state` |
| `DBMS_AQ.NO_DELAY (0)` | This constant is defined but returns an error if used. | `message_properties_t.delay` |
| `DBMS_AQ.NEVER (NULL)` | This constant is defined but returns an error if used. | `message_properties_t.expiration` |
@@ -62,8 +62,8 @@ The `DBMS_AQ` configuration parameters listed in the following table can be defi
| `dbms_aq.min_work_time` | The minimum time a worker can run before exiting. |
| `dbms_aq.launch_delay` | The minimum time between creating workers. |
| `dbms_aq.batch_size` | The maximum number of messages to process in a single transaction. The default batch size is 10. |
-| `dbms_aq.max_databases` | The size of `DBMS_AQ`’s hash table of databases. The default value is 1024. |
-| `dbms_aq.max_pending_retries` | The size of `DBMS_AQ`’s hash table of pending retries. The default value is 1024. |
+| `dbms_aq.max_databases` | The size of the `DBMS_AQ` hash table of databases. The default value is 1024. |
+| `dbms_aq.max_pending_retries` | The size of the `DBMS_AQ` hash table of pending retries. The default value is 1024. |
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/01_alter_queue.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/01_alter_queue.mdx
index 6383b413257..6c6c44f09cc 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/01_alter_queue.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/01_alter_queue.mdx
@@ -25,11 +25,11 @@ ALTER_QUEUE(
`retry_delay`
- `retry_delay` specifies the number of seconds until a message is scheduled for re-processing after a `ROLLBACK`. Specify `0` to indicate that the message should be retried immediately (the default).
+ `retry_delay` specifies the number of seconds until a message is scheduled for reprocessing after a `ROLLBACK`. Specify `0` to retry the message immediately (the default).
`retention_time`
- `retention_time` specifies the length of time (in seconds) that a message is stored after being dequeued. You can also specify `0` (the default) to indicate the message should not be retained after dequeueing, or `INFINITE` to retain the message forever.
+ `retention_time` specifies the length of time in seconds that a message is stored after being dequeued. You can also specify `0` (the default) to indicate not to retain the message after dequeueing or `INFINITE` to retain the message forever.
`auto_commit`
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/02_alter_queue_table.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/02_alter_queue_table.mdx
index 02b47de4256..cd7384d1af1 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/02_alter_queue_table.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/02_alter_queue_table.mdx
@@ -24,11 +24,11 @@ ALTER_QUEUE_TABLE (
`primary_instance`
- `primary_instance` is accepted for compatibility and stored, but is ignored.
+ `primary_instance` is accepted for compatibility and stored but is ignored.
`secondary_instance`
- `secondary_instance` is accepted for compatibility, but is ignored.
+ `secondary_instance` is accepted for compatibility but is ignored.
## Example
@@ -40,4 +40,4 @@ EXEC DBMS_AQADM.ALTER_QUEUE_TABLE
contains work orders for the shipping department.');
```
-The queue table is named `work_order_table`; the command adds a comment to the definition of the queue table.
+The queue table is named `work_order_table`. The command adds a comment to the definition of the queue table.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/03_create_queue.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/03_create_queue.mdx
index d8fcb22850e..90111b8f293 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/03_create_queue.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/03_create_queue.mdx
@@ -31,21 +31,21 @@ CREATE_QUEUE(
The type of the new queue. The valid values for `queue_type` are:
- `DBMS_AQADM.NORMAL_QUEUE` – This value specifies a normal queue (the default).
+ `DBMS_AQADM.NORMAL_QUEUE` — This value specifies a normal queue (the default).
- `DBMS_AQADM.EXCEPTION_QUEUE` – This value specifies that the new queue is an exception queue. An exception queue supports only dequeue operations.
+ `DBMS_AQADM.EXCEPTION_QUEUE` — This value specifies that the new queue is an exception queue. An exception queue supports only dequeue operations.
`max_retries`
- `max_retries` specifies the maximum number of attempts to remove a message with a dequeue statement. The value of `max_retries` is incremented with each `ROLLBACK` statement. When the number of failed attempts reaches the value specified by `max_retries`, the message is moved to the exception queue. The default value for a system table is `0`; the default value for a user created table is `5`.
+ `max_retries` specifies the maximum number of attempts to remove a message with a dequeue statement. The value of `max_retries` is incremented with each `ROLLBACK` statement. When the number of failed attempts reaches the value specified by `max_retries`, the message is moved to the exception queue. The default value for a system table is `0`. The default value for a user-created table is `5`.
`retry_delay`
- `retry_delay` specifies the number of seconds until a message is scheduled for re-processing after a `ROLLBACK`. Specify `0` to indicate that the message should be retried immediately (the default).
+ `retry_delay` specifies the number of seconds until a message is scheduled for reprocessing after a `ROLLBACK`. Specify `0` to retry the message immediately (the default).
`retention_time`
- `retention_time` specifies the length of time (in seconds) that a message is stored after being dequeued. You can also specify `0` (the default) to indicate the message should not be retained after dequeueing, or `INFINITE` to retain the message forever.
+ `retention_time` specifies the length of time (in seconds) that a message is stored after being dequeued. You can also specify `0` (the default) to indicate not to retain the message after dequeueing or `INFINITE` to retain the message forever.
`dependency_tracking`
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/04_create_queue_table.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/04_create_queue_table.mdx
index 39dbee4f9ca..f389001a1da 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/04_create_queue_table.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/04_create_queue_table.mdx
@@ -28,20 +28,20 @@ CREATE_QUEUE_TABLE (
`queue_payload_type`
- The user-defined type of the data that is stored in the queue table. To specify a `RAW` data type, you must create a user-defined type that identifies a `RAW` type.
+ The user-defined type of the data that's stored in the queue table. To specify a `RAW` data type, you must create a user-defined type that identifies a `RAW` type.
`storage_clause`
-Use the `storage_clause` parameter to specify attributes for the queue table. Only the `TABLESPACE` option is enforced; all others are accepted for compatibility and ignored. Use the `TABLESPACE` clause to specify the name of a tablespace in which to create the table.
+Use the `storage_clause` parameter to specify attributes for the queue table. Only the `TABLESPACE` option is enforced. All others are accepted for compatibility and ignored. Use the `TABLESPACE` clause to specify the name of a tablespace in which to create the table.
- `storage_clause` may be one or more of the following:
+ `storage_clause` can be one or more of the following:
```text
TABLESPACE tablespace_name, PCTFREE integer, PCTUSED integer,
INITRANS integer, MAXTRANS integer or STORAGE storage_option.
```
-`storage_option` may be one or more of the following:
+`storage_option` can be one or more of the following:
```text
MINEXTENTS integer, MAXEXTENTS integer, PCTINCREASE integer, INITIAL
@@ -51,7 +51,7 @@ POOL {KEEP|RECYCLE|DEFAULT}.
`sort_list`
- `sort_list` controls the dequeueing order of the queue; specify the names of the columns to use to sort the queue (in ascending order). The currently accepted values are the following combinations of `enq_time` and `priority`:
+ `sort_list` controls the dequeueing order of the queue. Specify the names of the columns to use to sort the queue in ascending order. The currently accepted values are the following combinations of `enq_time` and `priority`:
- `enq_time, priority`
@@ -63,7 +63,7 @@ POOL {KEEP|RECYCLE|DEFAULT}.
`multiple_consumers`
- `multiple_consumers` queue tables is not supported.
+ `multiple_consumers` queue tables isn't supported.
`message_grouping`
@@ -75,23 +75,23 @@ POOL {KEEP|RECYCLE|DEFAULT}.
`auto_commit`
- `auto_commit` is accepted for compatibility, but is ignored.
+ `auto_commit` is accepted for compatibility but is ignored.
`primary_instance`
- `primary_instance` is accepted for compatibility and stored, but is ignored.
+ `primary_instance` is accepted for compatibility and stored but is ignored.
`secondary_instance`
- `secondary_instance` is accepted for compatibility, but is ignored.
+ `secondary_instance` is accepted for compatibility but is ignored.
`compatible`
- `compatible` is accepted for compatibility, but is ignored.
+ `compatible` is accepted for compatibility but is ignored.
`secure`
- `secure` is accepted for compatibility, but is ignored.
+ `secure` is accepted for compatibility but is ignored.
## Example
@@ -110,4 +110,4 @@ EXEC DBMS_AQADM.CREATE_QUEUE_TABLE
END;
```
-The queue table is named `work_order_table`, and contains a payload of a type `work_order`. A comment notes that this is the `Work order message queue table`.
+The queue table is named `work_order_table` and contains a payload of a type `work_order`. A comment notes that this is the `Work order message queue table`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/05_drop_queue.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/05_drop_queue.mdx
index 04346eaa1b4..ed577ff3e3f 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/05_drop_queue.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/05_drop_queue.mdx
@@ -14,11 +14,11 @@ DROP_QUEUE(
`queue_name`
- The name of the queue that you wish to drop.
+ The name of the queue that you want to drop.
`auto_commit`
- `auto_commit` is accepted for compatibility, but is ignored.
+ `auto_commit` is accepted for compatibility but is ignored.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/06_drop_queue_table.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/06_drop_queue_table.mdx
index ce5068298da..84655880f34 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/06_drop_queue_table.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/06_drop_queue_table.mdx
@@ -21,13 +21,12 @@ DROP_QUEUE_TABLE(
The `force` keyword determines the behavior of the `DROP_QUEUE_TABLE` command when dropping a table that contain entries:
-- If the target table contains entries and force is `FALSE`, the command fails, and the server issues an error.
-
-- If the target table contains entries and force is `TRUE`, the command drops the table and any dependent objects.
+- If the target table contains entries and `force` is `FALSE`, the command fails, and the server issues an error.
+- If the target table contains entries and `force` is `TRUE`, the command drops the table and any dependent objects.
`auto_commit`
- `auto_commit` is accepted for compatibility, but is ignored.
+ `auto_commit` is accepted for compatibility but is ignored.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/07_purge_queue_table.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/07_purge_queue_table.mdx
index b8e25db285e..fbcd15f6fa3 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/07_purge_queue_table.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/07_purge_queue_table.mdx
@@ -15,7 +15,7 @@ PURGE_QUEUE_TABLE(
`queue_table`
- `queue_table` specifies the name of the queue table from which you are deleting a message.
+ `queue_table` specifies the name of the queue table from which you're deleting a message.
`purge_condition`
@@ -27,7 +27,7 @@ PURGE_QUEUE_TABLE(
| Attribute | Type | Description |
| --------------- | ------- | ------------------------------------------------------------------------------------------------------------------- |
-| `block` | Boolean | Specify `TRUE` if an exclusive lock should be held on all queues within the table; the default is `FALSE`. |
+| `block` | Boolean | Specify `TRUE` to hold an exclusive lock on all queues in the table. The default is `FALSE`. |
| `delivery_mode` | INTEGER | `delivery_mode` specifies the type of message to purge. The only accepted value is `DBMS_AQ.PERSISTENT`. |
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/08_start_queue.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/08_start_queue.mdx
index 1af7ec4ae40..a4d7feeb247 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/08_start_queue.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/08_start_queue.mdx
@@ -15,15 +15,15 @@ START_QUEUE(
`queue_name`
- `queue_name` specifies the name of the queue that you are starting.
+ `queue_name` specifies the name of the queue that you're starting.
`enqueue`
- Specify `TRUE` to enable enqueueing (the default), or `FALSE` to leave the current setting unchanged.
+ Specify `TRUE` to enable enqueueing (the default) or `FALSE` to leave the current setting unchanged.
`dequeue`
- Specify `TRUE` to enable dequeueing (the default), or `FALSE` to leave the current setting unchanged.
+ Specify `TRUE` to enable dequeueing (the default) or `FALSE` to leave the current setting unchanged.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/09_stop_queue.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/09_stop_queue.mdx
index 8a864bd0a7d..842d1e034c0 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/09_stop_queue.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/09_stop_queue.mdx
@@ -16,19 +16,19 @@ STOP_QUEUE(
`queue_name`
- `queue_name` specifies the name of the queue that you are stopping.
+ `queue_name` specifies the name of the queue that you're stopping.
`enqueue`
- Specify `TRUE` to disable enqueueing (the default), or `FALSE` to leave the current setting unchanged.
+ Specify `TRUE` to disable enqueueing (the default) or `FALSE` to leave the current setting unchanged.
`dequeue`
- Specify `TRUE` to disable dequeueing (the default), or `FALSE` to leave the current setting unchanged.
+ Specify `TRUE` to disable dequeueing (the default) or `FALSE` to leave the current setting unchanged.
`wait`
- Specify `TRUE` to instruct the server to wait for any uncompleted transactions to complete before applying the specified changes; while waiting to stop the queue, no transactions are allowed to enqueue or dequeue from the specified queue. Specify `FALSE` to stop the queue immediately.
+ Specify `TRUE` to instruct the server to wait for any uncompleted transactions to complete before applying the specified changes. While waiting to stop the queue, no transactions are allowed to enqueue or dequeue from the specified queue. Specify `FALSE` to stop the queue immediately.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/index.mdx
index 22b7a7337bd..2b9b92da51a 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/03_dbms_aqadm/index.mdx
@@ -5,9 +5,9 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/database-compatibility-for-oracle-developers-built-in-package-guide/9.6/Database_Compatibility_for_Oracle_Developers_Built-in_Package_Guide.1.14.html"
---
-EDB Postgres Advanced Server Advanced Queueing provides message queueing and message processing for the EDB Postgres Advanced Server database. User-defined messages are stored in a queue; a collection of queues is stored in a queue table. Procedures in the `DBMS_AQADM` package create and manage message queues and queue tables. Use the `DBMS_AQ` package to add messages to a queue or remove messages from a queue, or register or unregister a PL/SQL callback procedure.
+EDB Postgres Advanced Server advanced queueing provides message queueing and message processing for the EDB Postgres Advanced Server database. User-defined messages are stored in a queue, and a collection of queues is stored in a queue table. Procedures in the `DBMS_AQADM` package create and manage message queues and queue tables. Use the `DBMS_AQ` package to add messages to or remove messages from a queue or to register or unregister a PL/SQL callback procedure.
-EDB Postgres Advanced Server also provides extended (non-compatible) functionality for the `DBMS_AQ` package with SQL commands, see the *Database Compatibility for Oracle Developers SQL Guide* for detailed information about the following SQL commands:
+EDB Postgres Advanced Server also provides extended (non-compatible) functionality for the `DBMS_AQ` package with SQL commands. See [Database Compatibility for Oracle Developers SQL](../../../epas_compat_sql/) for detailed information about the following SQL commands:
- `ALTER QUEUE`
- `ALTER QUEUE TABLE`
@@ -16,7 +16,7 @@ EDB Postgres Advanced Server also provides extended (non-compatible) functionali
- `DROP QUEUE`
- `DROP QUEUE TABLE`
-The `DBMS_AQADM` package provides procedures that allow you to create and manage queues and queue tables.
+The `DBMS_AQADM` package provides procedures that allow you to create and manage queues and queue tables. EDB Postgres Advanced Server's implementation of `DBMS_AQADM` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table are supported.
| Function/procedure | Return type | Description |
| -------------------- | ----------- | ----------------------------------------------------------------- |
@@ -28,20 +28,18 @@ The `DBMS_AQADM` package provides procedures that allow you to create and manage
| `DROP_QUEUE_TABLE` | n/a | Drop an existing queue table. |
| `PURGE_QUEUE_TABLE` | n/a | Remove one or more messages from a queue table. |
| `START_QUEUE` | n/a | Make a queue available for enqueueing and dequeueing procedures. |
-| `STOP_QUEUE` | n/a | Make a queue unavailable for enqueueing and dequeueing procedures |
+| `STOP_QUEUE` | n/a | Make a queue unavailable for enqueueing and dequeueing procedures. |
-EDB Postgres Advanced Server's implementation of `DBMS_AQADM` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table above are supported.
-
-EDB Postgres Advanced Server supports use of the arguments listed below:
+EDB Postgres Advanced Server supports use of the arguments listed in the table:
| Constant | Description | For parameters |
| --------------------------------------- | ----------------------------------------------------------- | --------------------------------- |
| `DBMS_AQADM.TRANSACTIONAL(1)` | This constant is defined but returns an error if used. | `message_grouping` |
| `DBMS_AQADM.NONE(0)` | Use to specify message grouping for a queue table. | `message_grouping` |
-| `DBMS_AQADM.NORMAL_QUEUE(0)` | Use with `create_queue` to `specify queue_type`. | `queue_type` |
+| `DBMS_AQADM.NORMAL_QUEUE(0)` | Use with `create_queue` to specify `queue_type`. | `queue_type` |
| `DBMS_AQADM.EXCEPTION_QUEUE (1)` | Use with `create_queue` to specify `queue_type`. | `queue_type` |
| `DBMS_AQADM.INFINITE(-1)` | Use with `create_queue` to specify `retention_time`. | `retention_time` |
-| `DBMS_AQADM.PERSISTENT (0)` | The message should be stored in a table. | `enqueue_options_t.delivery_mode` |
+| `DBMS_AQADM.PERSISTENT (0)` | Store the message in a table. | `enqueue_options_t.delivery_mode` |
| `DBMS_AQADM.BUFFERED (1)` | This constant is defined but returns an error if used. | `enqueue_options_t.delivery_mode` |
| `DBMS_AQADM.PERSISTENT_OR_BUFFERED (2)` | This constant is defined but returns an error if used. | `enqueue_options_t.delivery_mode` |
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/01_decrypt.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/01_decrypt.mdx
index f9f33a99ba9..b1c31e51e1e 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/01_decrypt.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/01_decrypt.mdx
@@ -2,7 +2,7 @@
title: "DECRYPT"
---
-The `DECRYPT` function or procedure decrypts data using a user-specified cipher algorithm, key and optional initialization vector. The signature of the `DECRYPT` function is:
+The `DECRYPT` function or procedure decrypts data using a user-specified cipher algorithm, key, and optional initialization vector. The signature of the `DECRYPT` function is:
```text
DECRYPT
@@ -36,11 +36,11 @@ When invoked as a procedure, `DECRYPT` returns `BLOB` or `CLOB` data to a user-s
`src`
- `src` specifies the source data to decrypt. If you are invoking `DECRYPT` as a function, specify `RAW` data; if invoking `DECRYPT` as a procedure, specify `BLOB` or `CLOB` data.
+ `src` specifies the source data to decrypt. If you're invoking `DECRYPT` as a function, specify `RAW` data. If invoking `DECRYPT` as a procedure, specify `BLOB` or `CLOB` data.
`typ`
- `typ` specifies the block cipher type and any modifiers. This should match the type specified when the `src` was encrypted. EDB Postgres Advanced Server supports the following block cipher algorithms, modifiers and cipher suites:
+ `typ` specifies the block cipher type and any modifiers. Match the type specified when the `src` was encrypted. EDB Postgres Advanced Server supports the following block cipher algorithms, modifiers, and cipher suites:
| Block cipher algorithms | |
| ---------------------------------- | ----------------------------------------------------------- |
@@ -63,7 +63,7 @@ When invoked as a procedure, `DECRYPT` returns `BLOB` or `CLOB` data to a user-s
`key`
- `key` specifies the user-defined decryption key. This should match the key specified when the `src` was encrypted.
+ `key` specifies the user-defined decryption key. Match the key specified when the `src` was encrypted.
`iv`
@@ -71,7 +71,7 @@ When invoked as a procedure, `DECRYPT` returns `BLOB` or `CLOB` data to a user-s
## Examples
-The following example uses the `DBMS_CRYPTO.DECRYPT` function to decrypt an encrypted password retrieved from the `passwords` table:
+This example uses the `DBMS_CRYPTO.DECRYPT` function to decrypt an encrypted password retrieved from the `passwords` table:
```text
CREATE TABLE passwords
@@ -93,4 +93,4 @@ BEGIN
END;
```
-Note that when calling `DECRYPT`, you must pass the same cipher type, key value and initialization vector that was used when `ENCRYPTING` the target.
+When calling `DECRYPT`, you must pass the same cipher type, key value, and initialization vector that was used when encrypting the target.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/02_encrypt.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/02_encrypt.mdx
index 0bf3b836668..193fb644367 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/02_encrypt.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/02_encrypt.mdx
@@ -2,7 +2,7 @@
title: "ENCRYPT"
---
-The `ENCRYPT` function or procedure uses a user-specified algorithm, key, and optional initialization vector to encrypt `RAW`, `BLOB` or `CLOB` data. The signature of the `ENCRYPT` function is:
+The `ENCRYPT` function or procedure uses a user-specified algorithm, key, and optional initialization vector to encrypt `RAW`, `BLOB`, or `CLOB` data. The signature of the `ENCRYPT` function is:
```text
ENCRYPT
@@ -36,11 +36,11 @@ When invoked as a procedure, `ENCRYPT` returns `BLOB` or `CLOB` data to a user-s
`src`
- `src` specifies the source data to encrypt. If you're invoking `ENCRYPT` as a function, specify `RAW` data; if invoking `ENCRYPT` as a procedure, specify `BLOB` or `CLOB` data.
+ `src` specifies the source data to encrypt. If you're invoking `ENCRYPT` as a function, specify `RAW` data. If invoking `ENCRYPT` as a procedure, specify `BLOB` or `CLOB` data.
`typ`
- `typ` specifies the block cipher type used by `ENCRYPT` and any modifiers. EDB Postgres Advanced Server supports the block cipher algorithms, modifiers and cipher suites listed below:
+ `typ` specifies the block cipher type used by `ENCRYPT` and any modifiers. EDB Postgres Advanced Server supports the block cipher algorithms, modifiers, and cipher suites shown in the table.
| Block cipher algorithms | |
| ---------------------------------- | ----------------------------------------------------------- |
@@ -71,7 +71,7 @@ When invoked as a procedure, `ENCRYPT` returns `BLOB` or `CLOB` data to a user-s
## Examples
-The following example uses the `DBMS_CRYPTO.DES_CBC_PKCS5` Block Cipher Suite (a pre-defined set of algorithms and modifiers) to encrypt a value retrieved from the `passwords` table:
+This example uses the `DBMS_CRYPTO.DES_CBC_PKCS5` Block Cipher Suite (a predefined set of algorithms and modifiers) to encrypt a value retrieved from the `passwords` table:
```text
CREATE TABLE passwords
@@ -90,4 +90,4 @@ BEGIN
END;
```
-`ENCRYPT` uses a key value of `my secret key` and an initialization vector of `my initialization vector` when encrypting the `password`; specify the same key and initialization vector when decrypting the `password`.
+`ENCRYPT` uses a key value of `my secret key` and an initialization vector of `my initialization vector` when encrypting the password. Specify the same key and initialization vector when decrypting the password.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/03_hash.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/03_hash.mdx
index 1d2ad830704..d2805285fad 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/03_hash.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/03_hash.mdx
@@ -16,11 +16,11 @@ HASH
`src`
- `src` specifies the value for which the hash value is generated. You can specify a `RAW`, a `BLOB`, or a `CLOB` value.
+ `src` specifies the value for which the hash value is generated. You can specify a `RAW`, `BLOB`, or `CLOB` value.
`typ`
- `typ` specifies the `HASH` function type. EDB Postgres Advanced Server supports the `HASH` function types listed below:
+ `typ` specifies the `HASH` function type. EDB Postgres Advanced Server supports the `HASH` function types shown in the table.
| HASH functions | |
| ------------------ | ------------------------ |
@@ -30,7 +30,7 @@ HASH
## Examples
-The following example uses `DBMS_CRYPTO.HASH` to find the `md5` hash value of the string, `cleartext source`:
+This example uses `DBMS_CRYPTO.HASH` to find the `md5` hash value of the string, `cleartext source`:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/04_mac.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/04_mac.mdx
index e8c2fd33ff0..2d08d27f840 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/04_mac.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/04_mac.mdx
@@ -20,7 +20,7 @@ MAC
`typ`
- `typ` specifies the `MAC` function used. EDB Postgres Advanced Server supports the `MAC` functions listed below.
+ `typ` specifies the `MAC` function used. EDB Postgres Advanced Server supports the `MAC` functions shown in the table.
| MAC functions | |
| ----------------- | ------------------------ |
@@ -33,7 +33,7 @@ MAC
## Examples
-The following example finds the hashed `MAC` value of the string `cleartext source`:
+This example finds the hashed `MAC` value of the string `cleartext source`:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/05_randombytes.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/05_randombytes.mdx
index 598f2c4d20f..d383d216327 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/05_randombytes.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/05_randombytes.mdx
@@ -13,11 +13,11 @@ RANDOMBYTES
`number_bytes`
- `number_bytes` specifies the number of random bytes to be returned
+ `number_bytes` specifies the number of random bytes to return.
## Examples
-The following example uses `RANDOMBYTES` to return a value that is `1024` bytes long:
+This example uses `RANDOMBYTES` to return a value that is 1024 bytes long:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/06_randominteger.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/06_randominteger.mdx
index 06acd9902e0..ef81cd89f84 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/06_randominteger.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/06_randominteger.mdx
@@ -2,7 +2,7 @@
title: "RANDOMINTEGER"
---
-The `RANDOMINTEGER()` function returns a random `INTEGER` between `0` and `268,435,455`. The signature is:
+The `RANDOMINTEGER()` function returns a random integer between `0` and `268,435,455`. The signature is:
```text
RANDOMINTEGER() RETURNS INTEGER
@@ -10,7 +10,7 @@ RANDOMINTEGER() RETURNS INTEGER
## Examples
-The following example uses the `RANDOMINTEGER` function to return a cryptographically strong random `INTEGER` value:
+This example uses the `RANDOMINTEGER` function to return a cryptographically strong random `INTEGER` value:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/07_randomnumber.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/07_randomnumber.mdx
index 6b78fa4bcf8..0d94c3d9405 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/07_randomnumber.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/07_randomnumber.mdx
@@ -2,7 +2,7 @@
title: "RANDOMNUMBER"
---
-The `RANDOMNUMBER()` function returns a random `NUMBER` between `0` and `268,435,455`. The signature is:
+The `RANDOMNUMBER()` function returns a random number between 0 and 268,435,455. The signature is:
```text
RANDOMNUMBER() RETURNS NUMBER
@@ -10,7 +10,7 @@ RANDOMNUMBER() RETURNS NUMBER
## Examples
-The following example uses the `RANDOMNUMBER` function to return a cryptographically strong random number:
+This example uses the `RANDOMNUMBER` function to return a cryptographically strong random number:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/index.mdx
index 2a65305f072..5773a32c656 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/04_dbms_crypto/index.mdx
@@ -7,9 +7,9 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.149.html"
---
-The `DBMS_CRYPTO` package provides functions and procedures that allow you to encrypt or decrypt `RAW, BLOB` or `CLOB` data. You can also use `DBMS_CRYPTO` functions to generate cryptographically strong random values.
+The `DBMS_CRYPTO` package provides functions and procedures that allow you to encrypt or decrypt `RAW, BLOB`, or `CLOB` data. You can also use `DBMS_CRYPTO` functions to generate cryptographically strong random values.
-The following table lists the `DBMS_CRYPTO` Functions and Procedures.
+The table lists the `DBMS_CRYPTO` functions and procedures.
| Function/procedure | Return type | Description |
| --------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------- |
@@ -24,8 +24,8 @@ The following table lists the `DBMS_CRYPTO` Functions and Procedures.
| `MAC(src, typ, key)` | `RAW` | Returns the hashed `MAC` value of the given `RAW` data using the specified hash algorithm and key. |
| `MAC(src, typ, key)` | `RAW` | Returns the hashed `MAC` value of the given `CLOB` data using the specified hash algorithm and key. |
| `RANDOMBYTES(number_bytes)` | `RAW` | Returns a specified number of cryptographically strong random bytes. |
-| `RANDOMINTEGER()` | `INTEGER` | Returns a random `INTEGER`. |
-| `RANDOMNUMBER()` | `NUMBER` | Returns a random `NUMBER.` |
+| `RANDOMINTEGER()` | `INTEGER` | Returns a random integer. |
+| `RANDOMNUMBER()` | `NUMBER` | Returns a random number. |
`DBMS_CRYPTO` functions and procedures support the following error messages:
@@ -35,9 +35,9 @@ The following table lists the `DBMS_CRYPTO` Functions and Procedures.
`ORA-28827 - DBMS_CRYPTO.CipherSuiteInvalid`
-Unlike Oracle, EDB Postgres Advanced Server doesn't return error `ORA-28233` if you re-encrypt previously encrypted information.
+Unlike Oracle, EDB Postgres Advanced Server doesn't return error `ORA-28233` if you reencrypt previously encrypted information.
-`RAW` and `BLOB` are synonyms for the PostgreSQL `BYTEA` data type, and `CLOB` is a synonym for `TEXT`.
+`RAW` and `BLOB` are synonyms for the PostgreSQL `BYTEA` data type. `CLOB` is a synonym for `TEXT`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/01_broken.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/01_broken.mdx
index 678429b5221..1a2d18eef07 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/01_broken.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/01_broken.mdx
@@ -2,7 +2,7 @@
title: "BROKEN"
---
-The `BROKEN` procedure sets the state of a job to either broken or not broken. A broken job cannot be executed except by using the `RUN` procedure.
+The `BROKEN` procedure sets the state of a job to either broken or not broken. You can execute a broken job only by using the `RUN` procedure.
```text
BROKEN(
BINARY_INTEGER, BOOLEAN [, DATE ])
@@ -12,11 +12,11 @@ BROKEN( BINARY_INTEGER, BOOLEAN [, DATE ])
`job`
- Identifier of the job to be set as broken or not broken.
+ Identifier of the job to set as broken or not broken.
`broken`
- If set to `TRUE` the job’s state is set to broken. If set to `FALSE` the job’s state is set to not broken. Broken jobs cannot be run except by using the `RUN` procedure.
+ If set to `TRUE`, the job’s state is set to broken. If set to `FALSE`, the job’s state is set to not broken. You can run broken jobs only by using the `RUN` procedure.
`next_date`
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/02_change.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/02_change.mdx
index 5099c4b241e..9f6fd1e1167 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/02_change.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/02_change.mdx
@@ -2,7 +2,7 @@
title: "CHANGE"
---
-The `CHANGE` procedure modifies certain job attributes including the stored procedure to be run, the next date/time the job is to be run, and how often it is to be run.
+The `CHANGE` procedure modifies certain job attributes including the stored procedure to run, the next date/time the job runs, and how often it runs.
```text
CHANGE( BINARY_INTEGER VARCHAR2, DATE,
@@ -17,23 +17,23 @@ CHANGE( BINARY_INTEGER VARCHAR2, DATE,
`what`
- Stored procedure name. Set this parameter to null if the existing value is to remain unchanged.
+ Stored procedure name. Set this parameter to null if you want the existing value to remain unchanged.
`next_date`
- Date/time when the job is to be run next. Set this parameter to null if the existing value is to remain unchanged.
+ Date/time to run the job next. Set this parameter to null if you want the existing value to remain unchanged.
`interval`
- Date function that when evaluated, provides the next date/time the job is to run. Set this parameter to null if the existing value is to remain unchanged.
+ Date function that, when evaluated, provides the next date/time to run the job. Set this parameter to null if you want the existing value to remain unchanged.
`instance`
- This argument is ignored, but is included for compatibility.
+ This argument is ignored but is included for compatibility.
`force`
- This argument is ignored, but is included for compatibility.
+ This argument is ignored but is included for compatibility.
## Examples
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/03_interval.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/03_interval.mdx
index f075313b3b5..c8bf97a6e17 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/03_interval.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/03_interval.mdx
@@ -2,7 +2,7 @@
title: "INTERVAL"
---
-The `INTERVAL` procedure sets the frequency of how often a job is to be run.
+The `INTERVAL` procedure sets how often to run a job.
```text
INTERVAL( BINARY_INTEGER, VARCHAR2)
@@ -16,7 +16,7 @@ INTERVAL( BINARY_INTEGER, VARCHAR2)
`interval`
- Date function that when evaluated, provides the next date/time the job is to be run. If `interval` is `NULL` and the job is complete, the job is removed from the queue.
+ Date function that, when evaluated, provides the next date/time to run the job. If `interval` is `NULL` and the job is complete, the job is removed from the queue.
## Examples
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/04_next_date.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/04_next_date.mdx
index 12191ceaebd..42dc45c272d 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/04_next_date.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/04_next_date.mdx
@@ -2,7 +2,7 @@
title: "NEXT_DATE"
---
-The `NEXT_DATE` procedure sets the date/time of when the job is to be run next.
+The `NEXT_DATE` procedure sets the date/time to run the job next.
```text
NEXT_DATE( BINARY_INTEGER, DATE)
@@ -12,11 +12,11 @@ NEXT_DATE( BINARY_INTEGER, DATE)
`job`
- Identifier of the job whose next run date is to be set.
+ Identifier of the job whose next run date you want to set.
`next_date`
- Date/time when the job is to be run next.
+ Date/time when you want the job run next.
## Examples
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/05_remove.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/05_remove.mdx
index 231d5f60100..512d6e4bc77 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/05_remove.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/05_remove.mdx
@@ -2,7 +2,7 @@
title: "REMOVE"
---
-The `REMOVE` procedure deletes the specified job from the database. The job must be resubmitted using the `SUBMIT` procedure in order to have it executed again. Note that the stored procedure that was associated with the job is not deleted.
+The `REMOVE` proceduzre deletes the specified job from the database. You must resubmit the job using the `SUBMIT` procedure to execute it again. The stored procedure that was associated with the job isn't deleted.
```text
REMOVE( BINARY_INTEGER)
@@ -12,7 +12,7 @@ REMOVE( BINARY_INTEGER)
`job`
- Identifier of the job that is to be removed from the database.
+ Identifier of the job to remove from the database.
## Examples
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/06_run.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/06_run.mdx
index 58aa286782f..6b5f00bf215 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/06_run.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/06_run.mdx
@@ -2,7 +2,7 @@
title: "RUN"
---
-The `RUN` procedure forces the job to be run, even if its state is broken.
+The `RUN` procedure forces the job to run even if its state is broken.
```text
RUN( BINARY_INTEGER)
@@ -12,11 +12,11 @@ RUN( BINARY_INTEGER)
`job`
- Identifier of the job to be run.
+ Identifier of the job to run.
## Examples
-Force a job to be run.
+Force a job to run.
```text
BEGIN
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/07_submit.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/07_submit.mdx
index df07660292a..8ea1d7ffbba 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/07_submit.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/07_submit.mdx
@@ -2,7 +2,11 @@
title: "SUBMIT"
---
-The `SUBMIT` procedure creates a job definition and stores it in the database. A job consists of a job identifier, the stored procedure to be executed, when the job is to be first run, and a date function that calculates the next date/time the job is to be run.
+The `SUBMIT` procedure creates a job definition and stores it in the database. A job consists of:
+- A job identifier
+- The stored procedure to execute
+- When to first run the job
+- A date function that calculates the next date/time for the job to run
```text
SUBMIT( OUT BINARY_INTEGER, VARCHAR2
@@ -17,26 +21,26 @@ SUBMIT( OUT BINARY_INTEGER, VARCHAR2
`what`
- Name of the stored procedure to be executed by the job.
+ Name of the stored procedure for the job to execute.
`next_date`
- Date/time when the job is to be run next. The default is `SYSDATE`.
+ Date/time to run the job next. The default is `SYSDATE`.
`interval`
- Date function that when evaluated, provides the next date/time the job is to run. If `interval` is set to null, then the job is run only once. Null is the default.
+ Date function that, when evaluated, provides the next date/time for the job to run. If `interval` is set to null, then the job runs only once. Null is the default.
`no_parse`
- If set to `TRUE`, don't syntax-check the stored procedure upon job creation – check only when the job first executes. If set to `FALSE`, check the procedure upon job creation. The default is `FALSE`.
+ If set to `TRUE`, don't syntax-check the stored procedure upon job creation. Check only when the job first executes. If set to `FALSE`, check the procedure upon job creation. The default is `FALSE`.
!!! Note
- The `no_parse` option is not supported in this implementation of `SUBMIT()`. It is included for compatibility only.
+ The `no_parse` option isn't supported in this implementation of `SUBMIT()`. It's included only for compatibility.
## Examples
-The following example creates a job using the stored procedure `job_proc`. The job executes immediately and runs once a day thereafter as set by the `interval` parameter, `SYSDATE + 1`.
+This example creates a job using the stored procedure `job_proc`. The job executes immediately and runs once a day after that, as set by the `interval` parameter, `SYSDATE + 1`.
```text
DECLARE
@@ -50,7 +54,7 @@ END;
jobid: 104
```
-The job immediately executes procedure, `job_proc`, populating table, `jobrun`, with a row:
+The job immediately executes the procedure `job_proc`, populating the table `jobrun` with a row:
```text
SELECT * FROM jobrun;
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/08_what.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/08_what.mdx
index 68a810c5342..37aedf64c73 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/08_what.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/08_what.mdx
@@ -12,11 +12,11 @@ WHAT( BINARY_INTEGER, VARCHAR2)
`job`
- Identifier of the job for which the stored procedure is to be changed.
+ Identifier of the job whose stored procedure you want to change.
`what`
- Name of the stored procedure to be executed.
+ Name of the stored procedure to execute.
## Examples
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/index.mdx
index 8686bc78f59..6eefd2d7669 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/05_dbms_job/index.mdx
@@ -7,38 +7,38 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.150.html"
---
-The `DBMS_JOB` package provides for the creation, scheduling, and managing of jobs. A job runs a stored procedure which has been previously stored in the database. The `SUBMIT` procedure is used to create and store a job definition. A job identifier is assigned to a job along with its associated stored procedure and the attributes describing when and how often the job is to be run.
+The `DBMS_JOB` package lets you create, schedule, and manage jobs. A job runs a stored procedure that was previously stored in the database. The `SUBMIT` procedure creates and stores a job definition. A job identifier is assigned to a job with a stored procedure and the attributes describing when and how often to run the job.
-This package relies on the `pgAgent` scheduler. By default, the EDB Postgres Advanced Server installer installs `pgAgent`, but you must start the `pgAgent` service manually prior to using `DBMS_JOB`. If you attempt to use this package to schedule a job after uninstalling `pgAgent, DBMS_JOB` throws an error. `DBMS_JOB` verifies that `pgAgent` is installed, but does not verify that the service is running.
+This package relies on the pgAgent scheduler. By default, the EDB Postgres Advanced Server installer installs pgAgent, but you must start the pgAgent service manually before using `DBMS_JOB`. If you attempt to use this package to schedule a job after uninstalling pgAgent, `DBMS_JOB` reports an error. `DBMS_JOB` verifies that pgAgent is installed but doesn't verify that the service is running.
-EDB Postgres Advanced Server's implementation of `DBMS_JOB` is a partial implementation when compared to Oracle's version. The following table lists the supported `DBMS_JOB` procedures:
+EDB Postgres Advanced Server's implementation of `DBMS_JOB` is a partial implementation when compared to Oracle's version. The following table lists the supported `DBMS_JOB` procedures.
| Function/procedure | Return type | Description |
| ---------------------------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `BROKEN(job, broken [, next_date ])` | n/a | Specify that a given job is either broken or not broken. |
| `CHANGE(job, what, next_date, interval, instance, force)` | n/a | Change the job’s parameters. |
| `INTERVAL(job, interval)` | n/a | Set the execution frequency by means of a date function that is recalculated each time the job is run. This value becomes the next date/time for execution. |
-| `NEXT_DATE(job, next_date)` | n/a | Set the next date/time the job is to be run. |
+| `NEXT_DATE(job, next_date)` | n/a | Set the next date/time to run the job. |
| `REMOVE(job)` | n/a | Delete the job definition from the database. |
-| `RUN(job)` | n/a | Forces execution of a job even if it is marked broken. |
-| `SUBMIT(job OUT, what [, next_date [, interval [, no_parse ]]])` | n/a | Creates a job and stores its definition in the database. |
+| `RUN(job)` | n/a | Force execution of a job even if it's marked broken. |
+| `SUBMIT(job OUT, what [, next_date [, interval [, no_parse ]]])` | n/a | Create a job and store its definition in the database. |
| `WHAT(job, what)` | n/a | Change the stored procedure run by a job. |
-Before using `DBMS_JOB`, a database superuser must create the `pgAgent` and `DBMS_JOB` extension. Use the `psql` client to connect to a database and invoke the command:
+Before using `DBMS_JOB`, a database superuser must create the pgAgent and `DBMS_JOB` extension. Use the psql client to connect to a database and invoke the command:
```text
CREATE EXTENSION pgagent;
CREATE EXTENSION dbms_job;
```
-When and how often a job is run is dependent upon two interacting parameters – `next_date` and `interval`. The `next_date` parameter is a date/time value that specifies the next date/time when the job is to be executed. The `interval` parameter is a string that contains a date function that evaluates to a date/time value.
+When and how often a job runs depends on two interacting parameters: `next_date` and `interval`. The `next_date` parameter is a date/time value that specifies the next date/time to execute the job. The `interval` parameter is a string that contains a date function that evaluates to a date/time value.
-Just prior to any execution of the job, the expression in the `interval` parameter is evaluated. The resulting value replaces the `next_date` value stored with the job. The job is then executed. In this manner, the expression in `interval` is repeatedly re-evaluated prior to each job execution, supplying the `next_date` date/time for the next execution.
+Before the job executes, the expression in the `interval` parameter is evaluated. The resulting value replaces the `next_date` value stored with the job. The job is then executed. In this manner, the expression in `interval` is repeatedly reevaluated before each job executes, supplying the `next_date` date/time for the next execution.
!!! Note
- The database user must be the same that created a job and schedule to start the `pgAgent` server and execute the job.
+ To start the pgAgent server and execute the job, the database user must be the same user that created a job and schedule.
-The following examples use the following stored procedure, `job_proc`, which simply inserts a timestamp into table, `jobrun`, containing a single `VARCHAR2` column.
+The following examples use the stored procedure `job_proc`. The procedure inserts a timestamp into the table `jobrun`, which contains a single column, `VARCHAR2`.
```text
CREATE TABLE jobrun (
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/01_append.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/01_append.mdx
index 2a957a24d8e..17fed2d485b 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/01_append.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/01_append.mdx
@@ -2,7 +2,7 @@
title: "APPEND"
---
-The `APPEND` procedure provides the capability to append one large object to another. Both large objects must be of the same type.
+The `APPEND` procedure appends one large object to another. Both large objects must be the same type.
```text
APPEND( IN OUT { BLOB | CLOB }, { BLOB | CLOB })
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/02_compare.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/02_compare.mdx
index 3911340544c..214286d10d1 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/02_compare.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/02_compare.mdx
@@ -14,11 +14,11 @@ The `COMPARE` procedure performs an exact byte-by-byte comparison of two large o
`lob_1`
- Large object locator of the first large object to be compared. Must be the same data type as `lob_2`.
+ Large object locator of the first large object to compare. Must be the same data type as `lob_2`.
`lob_2`
- Large object locator of the second large object to be compared. Must be the same data type as `lob_1`.
+ Large object locator of the second large object to compare. Must be the same data type as `lob_1`.
`amount`
@@ -26,12 +26,12 @@ The `COMPARE` procedure performs an exact byte-by-byte comparison of two large o
`offset_1`
- Position within the first large object to begin the comparison. The first byte/character is offset 1. The default is 1.
+ Position in the first large object to begin the comparison. The first byte/character is offset 1. The default is 1.
`offset_2`
- Position within the second large object to begin the comparison. The first byte/character is offset 1. The default is 1.
+ Position in the second large object to begin the comparison. The first byte/character is offset 1. The default is 1.
`status`
- Zero if both large objects are exactly the same for the specified length for the specified offsets. Non-zero, if the objects are not the same. `NULL` if `amount`, `offset_1`, or `offset_2` are less than zero.
+ Zero if both large objects are exactly the same for the specified length for the specified offsets. Nonzero if the objects aren't the same. `NULL` if `amount`, `offset_1`, or `offset_2` are less than zero.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/03_converttoblob.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/03_converttoblob.mdx
index 2c34fd2db67..2b95f048a87 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/03_converttoblob.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/03_converttoblob.mdx
@@ -2,7 +2,7 @@
title: "CONVERTTOBLOB"
---
-The `CONVERTTOBLOB` procedure provides the capability to convert character data to binary.
+The `CONVERTTOBLOB` procedure converts character data to binary.
```text
CONVERTTOBLOB( IN OUT BLOB, CLOB,
@@ -15,19 +15,19 @@ CONVERTTOBLOB( IN OUT BLOB, CLOB,
`dest_lob`
- `BLOB` large object locator to which the character data is to be converted.
+ `BLOB` large object locator to which to convert the character data.
`src_clob`
- `CLOB` large object locator of the character data to be converted.
+ `CLOB` large object locator of the character data to convert.
`amount`
- Number of characters of `src_clob` to be converted.
+ Number of characters of `src_clob` to convert.
`dest_offset IN`
- Position in bytes in the destination `BLOB` where writing of the source `CLOB` should begin. The first byte is offset 1.
+ Position in bytes in the destination `BLOB` where you want to begin writing the source `CLOB`. The first byte is offset 1.
`dest_offset OUT`
@@ -35,7 +35,7 @@ CONVERTTOBLOB( IN OUT BLOB, CLOB,
`src_offset IN`
- Position in characters in the source `CLOB` where conversion to the destination `BLOB` should begin. The first character is offset 1.
+ Position in characters in the source `CLOB` where you want to begin conversion to the destination `BLOB`. The first character is offset 1.
`src_offset OUT`
@@ -43,11 +43,11 @@ CONVERTTOBLOB( IN OUT BLOB, CLOB,
`blob_csid`
- Character set ID of the converted, destination `BLOB`.
+ Character set ID of the converted destination `BLOB`.
`lang_context IN`
- Language context for the conversion. The default value of 0 is typically used for this setting.
+ Language context for the conversion. The default value of `0` is typically used for this setting.
`lang_context OUT`
@@ -55,4 +55,4 @@ CONVERTTOBLOB( IN OUT BLOB, CLOB,
`warning`
- 0 if the conversion was successful, 1 if an inconvertible character was encountered.
+ `0` if the conversion was successful, `1` if a character can't be converted.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/04_converttoclob.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/04_converttoclob.mdx
index 3fe04b5f72c..15e3944e4b2 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/04_converttoclob.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/04_converttoclob.mdx
@@ -2,7 +2,7 @@
title: "CONVERTTOCLOB"
---
-The `CONVERTTOCLOB` procedure provides the capability to convert binary data to character.
+The `CONVERTTOCLOB` procedure converts binary data to character.
```text
CONVERTTOCLOB( IN OUT CLOB, BLOB,
@@ -15,19 +15,19 @@ CONVERTTOCLOB( IN OUT CLOB, BLOB,
`dest_lob`
- `CLOB` large object locator to which the binary data is to be converted.
+ `CLOB` large object locator to which to convert the binary data.
`src_blob`
- `BLOB` large object locator of the binary data to be converted.
+ `BLOB` large object locator of the binary data to convert.
`amount`
- Number of bytes of `src_blob` to be converted.
+ Number of bytes of `src_blob` to convert.
`dest_offset IN`
- Position in characters in the destination `CLOB` where writing of the source `BLOB` should begin. The first character is offset 1.
+ Position in characters in the destination `CLOB` where you want to begin writing the source `BLOB`. The first character is offset 1.
`dest_offset OUT`
@@ -35,7 +35,7 @@ CONVERTTOCLOB( IN OUT CLOB, BLOB,
`src_offset IN`
- Position in bytes in the source `BLOB` where conversion to the destination `CLOB` should begin. The first byte is offset 1.
+ Position in bytes in the source `BLOB` where you want the conversion to the destination `CLOB` to begin. The first byte is offset 1.
`src_offset OUT`
@@ -43,11 +43,11 @@ CONVERTTOCLOB( IN OUT CLOB, BLOB,
`blob_csid`
- Character set ID of the converted, destination `CLOB`.
+ Character set ID of the converted destination `CLOB`.
`lang_context IN`
- Language context for the conversion. The default value of 0 is typically used for this setting.
+ Language context for the conversion. The default value of `0` is typically used for this setting.
`lang_context OUT`
@@ -55,4 +55,4 @@ CONVERTTOCLOB( IN OUT CLOB, BLOB,
`warning`
- 0 if the conversion was successful, 1 if an inconvertible character was encountered.
+ `0` if the conversion was successful, `1` if a character can't be converted.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/05_copy.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/05_copy.mdx
index 03030d6a9eb..d62d9cbea66 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/05_copy.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/05_copy.mdx
@@ -2,7 +2,7 @@
title: "COPY"
---
-The `COPY` procedure provides the capability to copy one large object to another. The source and destination large objects must be the same data type.
+The `COPY` procedure copies one large object to another. The source and destination large objects must be the same data type.
```text
COPY( IN OUT { BLOB | CLOB },
@@ -15,20 +15,20 @@ COPY( IN OUT { BLOB | CLOB },
`dest_lob`
- Large object locator of the large object to which `src_lob` is to be copied. Must be the same data type as `src_lob`.
+ Large object locator of the large object to which you want to copy `src_lob`. Must be the same data type as `src_lob`.
`src_lob`
- Large object locator of the large object to be copied to `dest_lob`. Must be the same data type as `dest_lob`.
+ Large object locator of the large object to copy to `dest_lob`. Must be the same data type as `dest_lob`.
`amount`
- Number of bytes/characters of `src_lob` to be copied.
+ Number of bytes/characters of `src_lob` to copy.
`dest_offset`
- Position in the destination large object where writing of the source large object should begin. The first position is offset 1. The default is 1.
+ Position in the destination large object where you want writing of the source large object to begin. The first position is offset 1. The default is 1.
`src_offset`
- Position in the source large object where copying to the destination large object should begin. The first position is offset 1. The default is 1.
+ Position in the source large object where you want copying to the destination large object to begin. The first position is offset 1. The default is 1.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/06_erase.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/06_erase.mdx
index e716d717615..e2eb369f8af 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/06_erase.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/06_erase.mdx
@@ -2,7 +2,7 @@
title: "ERASE"
---
-The `ERASE` procedure provides the capability to erase a portion of a large object. To erase a large object means to replace the specified portion with zero-byte fillers for `BLOBs` or with spaces for `CLOBs`. The actual size of the large object is not altered.
+The `ERASE` procedure erases a portion of a large object. To erase a large object means to replace the specified portion with zero-byte fillers for `BLOB` or with spaces for `CLOB`. The actual size of the large object isn't altered.
```text
ERASE( IN OUT { BLOB | CLOB }, IN OUT INTEGER
@@ -13,16 +13,16 @@ ERASE( IN OUT { BLOB | CLOB }, IN OUT INTEGER
`lob_loc`
- Large object locator of the large object to be erased.
+ Large object locator of the large object to erase.
`amount IN`
- Number of bytes/characters to be erased.
+ Number of bytes/characters to erase.
`amount OUT`
- Number of bytes/characters actually erased. This value can be smaller than the input value if the end of the large object is reached before `amount` bytes/characters have been erased.
+ Number of bytes/characters erased. This value can be smaller than the input value if the end of the large object is reached before `amount` bytes/characters are erased.
`offset`
- Position in the large object where erasing is to begin. The first byte/character is position 1. The default is 1.
+ Position in the large object where erasing begins. The first byte/character is position 1. The default is 1.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/07_get_storage_limit.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/07_get_storage_limit.mdx
index 69095defcaa..4b3b14ddcb8 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/07_get_storage_limit.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/07_get_storage_limit.mdx
@@ -18,4 +18,4 @@ The `GET_STORAGE_LIMIT` function returns the limit on the largest allowable larg
`lob_loc`
- This parameter is ignored, but is included for compatibility.
+ This parameter is ignored but is included for compatibility.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/08_getlength.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/08_getlength.mdx
index 70461ee3636..578ec47ba75 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/08_getlength.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/08_getlength.mdx
@@ -14,8 +14,8 @@ The `GETLENGTH` function returns the length of a large object.
`lob_loc`
- Large object locator of the large object whose length is to be obtained.
+ Large object locator of the large object whose length to obtain.
`amount`
- Length of the large object in bytes for `BLOBs` or characters for `CLOBs`.
+ Length of the large object for `BLOB` or characters for `CLOB`, in bytes.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/09_instr.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/09_instr.mdx
index 256ec6c366d..73d6d6285c7 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/09_instr.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/09_instr.mdx
@@ -2,7 +2,7 @@
title: "INSTR"
---
-The `INSTR` function returns the location of the nth occurrence of a given pattern within a large object.
+The `INSTR` function returns the location of the nth occurrence of a given pattern in a large object.
```text
INTEGER INSTR( { BLOB | CLOB },
@@ -13,15 +13,15 @@ The `INSTR` function returns the location of the nth occurrence of a given patte
`lob_loc`
- Large object locator of the large object in which to search for pattern.
+ Large object locator of the large object in which to search for `pattern`.
`pattern`
- Pattern of bytes or characters to match against the large object, `lob. pattern` must be `RAW` if `lob_loc` is a `BLOB`. pattern must be `VARCHAR2` if `lob_loc` is a `CLOB`.
+ Pattern of bytes or characters to match against the large object, `lob`. `pattern` must be `RAW` if `lob_loc` is a `BLOB`. `pattern` must be `VARCHAR2` if `lob_loc` is a `CLOB`.
`offset`
- Position within `lob_loc` to start search for `pattern`. The first byte/character is position 1. The default is 1.
+ Position in `lob_loc` to start search for `pattern`. The first byte/character is position 1. The default is 1.
`nth`
@@ -29,4 +29,4 @@ The `INSTR` function returns the location of the nth occurrence of a given patte
`position`
- Position within the large object where `pattern` appears the nth time specified by `nth` starting from the position given by `offset`.
+ Position in the large object where `pattern` appears the `nth` time, starting from the position given by `offset`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/10_read.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/10_read.mdx
index 718b5757f04..f80dedf28c3 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/10_read.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/10_read.mdx
@@ -2,7 +2,7 @@
title: "READ"
---
-The `READ` procedure provides the capability to read a portion of a large object into a buffer.
+The `READ` procedure reads a portion of a large object into a buffer.
```text
READ( { BLOB | CLOB }, IN OUT BINARY_INTEGER,
@@ -13,7 +13,7 @@ READ( { BLOB | CLOB }, IN OUT BINARY_INTEGER,
`lob_loc`
- Large object locator of the large object to be read.
+ Large object locator of the large object to read.
`amount IN`
@@ -21,7 +21,7 @@ READ( { BLOB | CLOB }, IN OUT BINARY_INTEGER,
`amount OUT`
- Number of bytes/characters actually read. If there is no more data to be read, then `amount` returns 0 and a `DATA_NOT_FOUND` exception is thrown.
+ Number of bytes/characters read. If there's no more data to read, then `amount` returns `0` and a `DATA_NOT_FOUND` exception is thrown.
`offset`
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/11_substr.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/11_substr.mdx
index 3a659a5d640..4e832f9341e 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/11_substr.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/11_substr.mdx
@@ -2,7 +2,7 @@
title: "SUBSTR"
---
-The `SUBSTR` function provides the capability to return a portion of a large object.
+The `SUBSTR` function returns a portion of a large object.
```text
{ RAW | VARCHAR2 } SUBSTR( { BLOB | CLOB }
@@ -13,16 +13,16 @@ The `SUBSTR` function provides the capability to return a portion of a large obj
`lob_loc`
- Large object locator of the large object to be read.
+ Large object locator of the large object to read.
`amount`
- Number of bytes/characters to be returned. Default is 32,767.
+ Number of bytes/characters to return. Default is 32,767.
`offset`
- Position within the large object to begin returning data. The first byte/character is position 1. The default is 1.
+ Position in the large object to begin returning data. The first byte/character is position 1. The default is 1.
`data`
- Returned portion of the large object to be read. If `lob_loc` is a `BLOB`, the return data type is `RAW`. If `lob_loc` is a `CLOB`, the return data type is `VARCHAR2`.
+ Returned portion of the large object to read. If `lob_loc` is a `BLOB`, the return data type is `RAW`. If `lob_loc` is a `CLOB`, the return data type is `VARCHAR2`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/12_trim.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/12_trim.mdx
index b7ec3935e3f..244f22ae6ae 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/12_trim.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/12_trim.mdx
@@ -2,7 +2,7 @@
title: "TRIM"
---
-The `TRIM` procedure provides the capability to truncate a large object to the specified length.
+The `TRIM` procedure truncates a large object to the specified length.
```text
TRIM( IN OUT { BLOB | CLOB }, INTEGER)
@@ -12,8 +12,8 @@ TRIM( IN OUT { BLOB | CLOB }, INTEGER)
`lob_loc`
- Large object locator of the large object to be trimmed.
+ Large object locator of the large object to trim.
`newlen`
- Number of bytes/characters to which the large object is to be trimmed.
+ Number of bytes/characters to which you want to trim the large object.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/13_write.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/13_write.mdx
index 05ec88b5e27..f59057797ae 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/13_write.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/13_write.mdx
@@ -2,7 +2,7 @@
title: "WRITE"
---
-The `WRITE` procedure provides the capability to write data into a large object. Any existing data in the large object at the specified offset for the given length is overwritten by data given in the buffer.
+The `WRITE` procedure writes data into a large object. Any existing data in the large object at the specified offset for the given length is overwritten by data given in the buffer.
```text
WRITE( IN OUT { BLOB | CLOB },
@@ -14,11 +14,11 @@ WRITE( IN OUT { BLOB | CLOB },
`lob_loc`
- Large object locator of the large object to be written.
+ Large object locator of the large object to write.
`amount`
- The number of bytes/characters in `buffer` to be written to the large object.
+ The number of bytes/characters in `buffer` to write to the large object.
`offset`
@@ -26,4 +26,4 @@ WRITE( IN OUT { BLOB | CLOB },
`buffer`
- Contains data to be written to the large object. If `lob_loc` is a `BLOB`, then `buffer` must be `RAW`. If `lob_loc` is a `CLOB`, then `buffer` must be `VARCHAR2`.
+ Contains data to write to the large object. If `lob_loc` is a `BLOB`, then `buffer` must be `RAW`. If `lob_loc` is a `CLOB`, then `buffer` must be `VARCHAR2`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/14_writeappend.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/14_writeappend.mdx
index 56164496f4f..8cebee13d15 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/14_writeappend.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/14_writeappend.mdx
@@ -2,7 +2,7 @@
title: "WRITEAPPEND"
---
-The `WRITEAPPEND` procedure provides the capability to add data to the end of a large object.
+The `WRITEAPPEND` procedure adds data to the end of a large object.
```text
WRITEAPPEND( IN OUT { BLOB | CLOB },
@@ -13,12 +13,12 @@ WRITEAPPEND( IN OUT { BLOB | CLOB },
`lob_loc`
- Large object locator of the large object to which data is to be appended.
+ Large object locator of the large object to which you want to append the data.
`amount`
- Number of bytes/characters from `buffer` to be appended the large object.
+ Number of bytes/characters from `buffer` to append to the large object.
`buffer`
- Data to be appended to the large object. If `lob_loc` is a `BLOB`, then `buffer` must be `RAW`. If `lob_loc` is a `CLOB`, then `buffer` must be `VARCHAR2`.
+ Data to append to the large object. If `lob_loc` is a `BLOB`, then `buffer` must be `RAW`. If `lob_loc` is a `CLOB`, then `buffer` must be `VARCHAR2`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/index.mdx
index 41f73a1b480..c2a40066616 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/06_dbms_lob/index.mdx
@@ -7,7 +7,7 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.151.html"
---
-The `DBMS_LOB` package provides the capability to operate on large objects. The following table lists the supported functions and procedures:
+The `DBMS_LOB` package lets you operate on large objects. The following table lists the supported functions and procedures. EDB Postgres Advanced Server's implementation of `DBMS_LOB` is a partial implementation when compared to Oracle's version. Only the functions and procedures listed in this table are supported.
| Function/procedure | Return type | Description |
| -------------------------------------------------------------------------------------------------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------- |
@@ -16,17 +16,16 @@ The `DBMS_LOB` package provides the capability to operate on large objects. The
| `CONVERTOBLOB(dest_lob IN OUT, src_clob, amount, dest_offset IN OUT, src_offset IN OUT, blob_csid, lang_context IN OUT, warning OUT)` | n/a | Converts character data to binary. |
| `CONVERTTOCLOB(dest_lob IN OUT, src_blob, amount, dest_offset IN OUT, src_offset IN OUT, blob_csid, lang_context IN OUT, warning OUT)` | n/a | Converts binary data to character. |
| `COPY(dest_lob IN OUT, src_lob, amount [, dest_offset [, src_offset ]])` | n/a | Copies one large object to another. |
-| `ERASE(lob_loc IN OUT, amount IN OUT [, offset ])` | n/a | Erase a large object. |
-| `GET_STORAGE_LIMIT(lob_loc)` | `INTEGER` | Get the storage limit for large objects. |
-| `GETLENGTH(lob_loc)` | `INTEGER` | Get the length of the large object. |
-| `INSTR(lob_loc, pattern [, offset [, nth ]])` | `INTEGER` | Get the position of the nth occurrence of a pattern in the large object starting at `offset` |
-| `READ(lob_loc, amount IN OUT, offset, buffer OUT)` | n/a | Read a large object. |
-| `SUBSTR(lob_loc [, amount [, offset ]])` | `RAW, VARCHAR2` | Get part of a large object. |
-| `TRIM(lob_loc IN OUT, newlen)` | n/a | Trim a large object to the specified length. |
-| `WRITE(lob_loc IN OUT, amount, offset, buffer)` | n/a | Write data to a large object. |
-| `WRITEAPPEND(lob_loc IN OUT, amount, buffer)` | n/a | Write data from the buffer to the end of a large object. |
-
-EDB Postgres Advanced Server's implementation of `DBMS_LOB` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table above are supported.
+| `ERASE(lob_loc IN OUT, amount IN OUT [, offset ])` | n/a | Erases a large object. |
+| `GET_STORAGE_LIMIT(lob_loc)` | `INTEGER` | Gets the storage limit for large objects. |
+| `GETLENGTH(lob_loc)` | `INTEGER` | Gets the length of the large object. |
+| `INSTR(lob_loc, pattern [, offset [, nth ]])` | `INTEGER` | Gets the position of the nth occurrence of a pattern in the large object starting at `offset` |
+| `READ(lob_loc, amount IN OUT, offset, buffer OUT)` | n/a | Reads a large object. |
+| `SUBSTR(lob_loc [, amount [, offset ]])` | `RAW, VARCHAR2` | Gets part of a large object. |
+| `TRIM(lob_loc IN OUT, newlen)` | n/a | Trims a large object to the specified length. |
+| `WRITE(lob_loc IN OUT, amount, offset, buffer)` | n/a | Writes data to a large object. |
+| `WRITEAPPEND(lob_loc IN OUT, amount, buffer)` | n/a | Writes data from the buffer to the end of a large object. |
+
The following table lists the public variables available in the package.
@@ -50,7 +49,7 @@ The following table lists the public variables available in the package.
| `opt_encrypt` | `INTEGER` | `2` |
| `warn_inconvertible_char` | `INTEGER` | `1` |
-In the following sections, lengths and offsets are measured in bytes if the large objects are `BLOBs`. Lengths and offsets are measured in characters if the large objects are `CLOBs`.
+Lengths and offsets are measured in bytes if the large objects are `BLOB`. Lengths and offsets are measured in characters if the large objects are `CLOB`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/07_dbms_lock.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/07_dbms_lock.mdx
index 68683718d47..a31ca5b775d 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/07_dbms_lock.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/07_dbms_lock.mdx
@@ -27,4 +27,4 @@ SLEEP(
NUMBER)
`seconds`
- `seconds` specifies the number of seconds for which you wish to suspend the session. `seconds` can be a fractional value; for example, enter `1.75` to specify one and three-fourths of a second.
+ `seconds` specifies the number of seconds for which you want to suspend the session. `seconds` can be a fractional value. For example, enter `1.75` to specify one and three-fourths of a second.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/01_get_mv_dependencies.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/01_get_mv_dependencies.mdx
index c23fb9ac25c..e83ef4a8350 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/01_get_mv_dependencies.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/01_get_mv_dependencies.mdx
@@ -14,7 +14,7 @@ GET_MV_DEPENDENCIES(
`list`
- `list` specifies the name of a materialized view, or a comma-separated list of materialized view names.
+ `list` specifies the name of a materialized view or a comma-separated list of materialized view names.
`deplist`
@@ -22,7 +22,7 @@ GET_MV_DEPENDENCIES(
## Examples
-The following example displays a list of the dependencies on a materialized view named `public.emp_view`.
+This example displays a list of the dependencies on a materialized view named `public.emp_view`.
```text
DECLARE
@@ -32,4 +32,3 @@ BEGIN
DBMS_OUTPUT.PUT_LINE('deplist: ' || deplist);
END;
```
-
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/02_refresh.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/02_refresh.mdx
index 238ea2279eb..774db7b8dff 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/02_refresh.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/02_refresh.mdx
@@ -2,7 +2,7 @@
title: "REFRESH"
---
-Use the `REFRESH` procedure to refresh all views specified in either a comma-separated list of view names, or a table of `DBMS_UTILITY.UNCL_ARRAY` values. The procedure has two signatures; use the first form when specifying a comma-separated list of view names:
+Use the `REFRESH` procedure to refresh all views specified in either a comma-separated list of view names or a table of `DBMS_UTILITY.UNCL_ARRAY` values. The procedure has two signatures. Use the first form when specifying a comma-separated list of view names:
```text
REFRESH(
@@ -38,15 +38,15 @@ REFRESH(
`list`
- `list` is a `VARCHAR2` value that specifies the name of a materialized view, or a comma-separated list of materialized view names. The names may be schema-qualified.
+ `list` is a `VARCHAR2` value that specifies the name of a materialized view or a comma-separated list of materialized view names. The names can be schema-qualified.
`tab`
- `tab` is a table of `DBMS_UTILITY.UNCL_ARRAY` values that specify the name (or names) of a materialized view.
+ `tab` is a table of `DBMS_UTILITY.UNCL_ARRAY` values that specify names of a materialized view.
`method`
- `method` is a `VARCHAR2` value that specifies the refresh method to apply to the specified view (or views). The only supported method is `C`; this performs a complete refresh of the view.
+ `method` is a `VARCHAR2` value that specifies the refresh method to apply to the specified views. The only supported method is `C`, which performs a complete refresh of the view.
`rollback_seg`
@@ -82,7 +82,7 @@ REFRESH(
## Examples
-The following example uses `DBMS_MVIEW.REFRESH` to perform a `COMPLETE` refresh on the `public.emp_view` materialized view:
+This example uses `DBMS_MVIEW.REFRESH` to perform a complete refresh on the `public.emp_view` materialized view:
```text
EXEC DBMS_MVIEW.REFRESH(list => 'public.emp_view', method => 'C');
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/03_refresh_all_mviews.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/03_refresh_all_mviews.mdx
index 658857b08d3..247817e8d4e 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/03_refresh_all_mviews.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/03_refresh_all_mviews.mdx
@@ -2,7 +2,7 @@
title: "REFRESH_ALL_MVIEWS"
---
-Use the `REFRESH_ALL_MVIEWS` procedure to refresh any materialized views that have not been refreshed since the table or view on which the view depends has been modified. The signature is:
+Use the `REFRESH_ALL_MVIEWS` procedure to refresh any materialized views that weren't refreshed since the table or view on which the view depends was modified. The signature is:
```text
REFRESH_ALL_MVIEWS(
@@ -17,11 +17,11 @@ REFRESH_ALL_MVIEWS(
`number_of_failures`
- `number_of_failures` is a `BINARY_INTEGER` that specifies the number of failures that occurred during the refresh operation.
+ `number_of_failures` is a `BINARY_INTEGER` that specifies the number of failures that occurred during the refresh.
`method`
- `method` is a `VARCHAR2` value that specifies the refresh method to apply to the specified views. The only supported method is `C;` this performs a complete refresh of the view.
+ `method` is a `VARCHAR2` value that specifies the refresh method to apply to the specified views. The only supported method is `C`, which performs a complete refresh of the view.
`rollback_seg`
@@ -37,7 +37,7 @@ REFRESH_ALL_MVIEWS(
## Examples
-The following example performs a `COMPLETE` refresh on all materialized views:
+This example performs a complete refresh on all materialized views:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/04_refresh_dependent.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/04_refresh_dependent.mdx
index 4ca819a81f7..ecdcc99d2d1 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/04_refresh_dependent.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/04_refresh_dependent.mdx
@@ -2,9 +2,9 @@
title: "REFRESH_DEPENDENT"
---
-Use the `REFRESH_DEPENDENT` procedure to refresh all material views that are dependent on the views specified in the call to the procedure. You can specify a comma-separated list or provide the view names in a table of `DBMS_UTILITY.UNCL_ARRAY` values.
+Use the `REFRESH_DEPENDENT` procedure to refresh all material views that depend on the views specified in the call to the procedure. You can specify a comma-separated list or provide the view names in a table of `DBMS_UTILITY.UNCL_ARRAY` values.
-Use the first form of the procedure to refresh all material views that are dependent on the views specified in a comma-separated list:
+Use the first form of the procedure to refresh all material views that depend on the views specified in a comma-separated list:
```text
REFRESH_DEPENDENT(
@@ -17,7 +17,7 @@ REFRESH_DEPENDENT(
IN BOOLEAN DEFAULT FALSE);
```
-Use the second form of the procedure to refresh all material views that are dependent on the views specified in a table of `DBMS_UTILITY.UNCL_ARRAY` values:
+Use the second form of the procedure to refresh all material views that depend on the views specified in a table of `DBMS_UTILITY.UNCL_ARRAY` values:
```text
REFRESH_DEPENDENT(
@@ -38,7 +38,7 @@ REFRESH_DEPENDENT(
`list`
- `list` is a `VARCHAR2` value that specifies the name of a materialized view, or a comma-separated list of materialized view names. The names may be schema-qualified.
+ `list` is a `VARCHAR2` value that specifies the name of a materialized view or a comma-separated list of materialized view names. The names can be schema-qualified.
`tab`
@@ -46,7 +46,7 @@ REFRESH_DEPENDENT(
`method`
- `method` is a `VARCHAR2` value that specifies the refresh method that to apply to the specified views. The only supported method is `C`; this performs a complete refresh of the view.
+ `method` is a `VARCHAR2` value that specifies the refresh method to apply to the specified views. The only supported method is `C`, which performs a complete refresh of the view.
`rollback_seg`
@@ -66,7 +66,7 @@ REFRESH_DEPENDENT(
## Examples
-The following example performs a `COMPLETE` refresh on all materialized views dependent on a materialized view named `emp_view` that resides in the `public` schema:
+This example performs a complete refresh on all materialized views that depend on a materialized view named `emp_view` that resides in the `public` schema:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/index.mdx
index 58947faa36e..a82edec3cf5 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/08_dbms_mview/index.mdx
@@ -15,10 +15,10 @@ Use procedures in the `DBMS_MVIEW` package to manage and refresh materialized vi
| `REFRESH(list VARCHAR2, method VARCHAR2, rollback_seg VARCHAR2 , push_deferred_rpc BOOLEAN, refresh_after_errors BOOLEAN , purge_option NUMBER, parallelism NUMBER, heap_size NUMBER , atomic_refresh BOOLEAN , nested BOOLEAN);` | n/a | This variation of the `REFRESH` procedure refreshes all views named in a comma-separated list of view names. |
| `REFRESH(tab dbms_utility.uncl_array, method VARCHAR2, rollback_seg VARCHAR2, push_deferred_rpc BOOLEAN, refresh_after_errors BOOLEAN, purge_option NUMBER, parallelism NUMBER, heap_size NUMBER, atomic_refresh BOOLEAN, nested BOOLEAN);` | n/a | This variation of the `REFRESH` procedure refreshes all views named in a table of `dbms_utility.uncl_array` values. |
| `REFRESH_ALL_MVIEWS(number_of_failures BINARY_INTEGER, method VARCHAR2, rollback_seg VARCHAR2, refresh_after_errors BOOLEAN, atomic_refresh BOOLEAN);` | n/a | The `REFRESH_ALL_MVIEWS` procedure refreshes all materialized views. |
-| `REFRESH_DEPENDENT(number_of_failures BINARY_INTEGER, list VARCHAR2, method VARCHAR2, rollback_seg VARCHAR2, refresh_after_errors BOOLEAN, atomic_refresh BOOLEAN, nested BOOLEAN);` | n/a | This variation of the `REFRESH_DEPENDENT` procedure refreshes all views that are dependent on the views listed in a comma-separated list. |
-| `REFRESH_DEPENDENT(number_of_failures BINARY_INTEGER, tab dbms_utility.uncl_array, method VARCHAR2, rollback_seg VARCHAR2, refresh_after_errors BOOLEAN, atomic_refresh BOOLEAN, nested BOOLEAN);` | n/a | This variation of the `REFRESH_DEPENDENT` procedure refreshes all views that are dependent on the views listed in a table of `dbms_utility.uncl_array` values. |
+| `REFRESH_DEPENDENT(number_of_failures BINARY_INTEGER, list VARCHAR2, method VARCHAR2, rollback_seg VARCHAR2, refresh_after_errors BOOLEAN, atomic_refresh BOOLEAN, nested BOOLEAN);` | n/a | This variation of the `REFRESH_DEPENDENT` procedure refreshes all views that depend on the views listed in a comma-separated list. |
+| `REFRESH_DEPENDENT(number_of_failures BINARY_INTEGER, tab dbms_utility.uncl_array, method VARCHAR2, rollback_seg VARCHAR2, refresh_after_errors BOOLEAN, atomic_refresh BOOLEAN, nested BOOLEAN);` | n/a | This variation of the `REFRESH_DEPENDENT` procedure refreshes all views that depend on the views listed in a table of `dbms_utility.uncl_array` values. |
-EDB Postgres Advanced Server's implementation of `DBMS_MVIEW` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table above are supported.
+EDB Postgres Advanced Server's implementation of `DBMS_MVIEW` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table are supported.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/09_dbms_output.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/09_dbms_output.mdx
index 3aea9868e1b..02f6496f2aa 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/09_dbms_output.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/09_dbms_output.mdx
@@ -7,7 +7,7 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.154.html"
---
-The `DBMS_OUTPUT` package provides the capability to send messages (lines of text) to a message buffer, or get messages from the message buffer. A message buffer is local to a single session. Use the `DBMS_PIPE` package to send messages between sessions.
+The `DBMS_OUTPUT` package sends messages (lines of text) to a message buffer or gets messages from the message buffer. A message buffer is local to a single session. Use the `DBMS_PIPE` package to send messages between sessions.
The procedures and functions available in the `DBMS_OUTPUT` package are listed in the following table.
@@ -38,9 +38,9 @@ TYPE chararr IS TABLE OF VARCHAR2(32767) INDEX BY BINARY_INTEGER;
## DISABLE
-The `DISABLE` procedure clears out the message buffer. Any messages in the buffer at the time the `DISABLE` procedure is executed are no longer be accessible. Any messages subsequently sent with the `PUT, PUT_LINE,` or `NEW_LINE` procedures are discarded. No error is returned to the sender when the `PUT, PUT_LINE,` or `NEW_LINE` procedures are executed and messages have been disabled.
+The `DISABLE` procedure clears out the message buffer. You can no longer access any messages in the buffer at the time the `DISABLE` procedure is executed. Any messages later sent with the `PUT`, `PUT_LINE,` or `NEW_LINE` procedures are discarded. No error is returned to the sender when the `PUT`, `PUT_LINE,` or `NEW_LINE` procedures are executed and messages were disabled.
-Use the `ENABLE` procedure or `SERVEROUTPUT(TRUE)` procedure to re-enable the sending and receiving of messages.
+Use the `ENABLE or `SERVEROUTPUT(TRUE)` procedure to reenable sending and receiving messages.
```text
DISABLE
@@ -48,7 +48,7 @@ DISABLE
### Examples
-This anonymous block disables the sending and receiving messages in the current session.
+This anonymous block disables sending and receiving messages in the current session.
```text
BEGIN
@@ -58,9 +58,9 @@ END;
## ENABLE
-The `ENABLE` procedure enables the capability to send messages to the message buffer or retrieve messages from the message buffer. Running `SERVEROUTPUT(TRUE)` also implicitly performs the `ENABLE` procedure.
+The `ENABLE` procedure enables you to send messages to or retrieve messages from the message buffer. Running `SERVEROUTPUT(TRUE)` also implicitly performs the `ENABLE` procedure.
-The destination of a message sent with `PUT, PUT_LINE,` or `NEW_LINE` depends upon the state of `SERVEROUTPUT`.
+The destination of a message sent with `PUT`, `PUT_LINE`, or `NEW_LINE` depends on the state of `SERVEROUTPUT`.
- If the last state of `SERVEROUTPUT` is `TRUE`, the message goes to standard output of the command line.
- If the last state of `SERVEROUTPUT` is `FALSE`, the message goes to the message buffer.
@@ -73,11 +73,11 @@ ENABLE [ (
INTEGER) ]
`buffer_size`
- Maximum length of the message buffer in bytes. If a `buffer_size` of less than 2000 is specified, the buffer size is set to 2000.
+ Maximum length of the message buffer in bytes. If you specify a `buffer_size` of less than 2000, the buffer size is set to 2000.
### Examples
-The following anonymous block enables messages. Setting `SERVEROUTPUT(TRUE)` forces them to standard output.
+This anonymous block enables messages. Setting `SERVEROUTPUT(TRUE)` forces them to standard output.
```text
BEGIN
@@ -89,7 +89,7 @@ END;
Messages enabled
```
-The same effect could have been achieved by simply using `SERVEROUTPUT(TRUE)`.
+You can achieve the same effect by using `SERVEROUTPUT(TRUE)`.
```text
BEGIN
@@ -100,7 +100,7 @@ END;
Messages enabled
```
-The following anonymous block enables messages, but setting `SERVEROUTPUT(FALSE)` directs messages to the message buffer.
+This anonymous block enables messages, but setting `SERVEROUTPUT(FALSE)` directs messages to the message buffer.
```text
BEGIN
@@ -112,7 +112,7 @@ END;
## GET_LINE
-The `GET_LINE` procedure provides the capability to retrieve a line of text from the message buffer. Only text that has been terminated by an end-of-line character sequence is retrieved – that is complete lines generated using `PUT_LINE`, or by a series of `PUT` calls followed by a `NEW_LINE` call.
+The `GET_LINE` procedure retrieves a line of text from the message buffer. Only text that was terminated by an end-of-line character sequence is retrieved. That includes complete lines generated using `PUT_LINE` or by a series of `PUT` calls followed by a `NEW_LINE` call.
```text
GET_LINE( OUT VARCHAR2, OUT INTEGER)
@@ -126,11 +126,11 @@ GET_LINE( OUT VARCHAR2, OUT INTEGER)
`status`
- 0 if a line was returned from the message buffer, 1 if there was no line to return.
+ `0` if a line was returned from the message buffer, `1` if there was no line to return.
### Examples
-The following anonymous block writes the `emp` table out to the message buffer as a comma-delimited string for each row.
+This anonymous block writes the `emp` table out to the message buffer as a comma-delimited string for each row.
```text
EXEC DBMS_OUTPUT.SERVEROUTPUT(FALSE);
@@ -150,7 +150,7 @@ BEGIN
END;
```
-The following anonymous block reads the message buffer and inserts the messages written by the prior example into a table named `messages`. The rows in `messages` are then displayed.
+This anonymous block reads the message buffer and inserts the messages written by the prior example into a table named `messages`. The rows in `messages` are then displayed.
```text
CREATE TABLE messages (
@@ -192,7 +192,7 @@ SELECT msg FROM messages;
## GET_LINES
-The `GET_LINES` procedure provides the capability to retrieve one or more lines of text from the message buffer into a collection. Only text that has been terminated by an end-of-line character sequence is retrieved – that is complete lines generated using `PUT_LINE`, or by a series of `PUT` calls followed by a `NEW_LINE` call.
+The `GET_LINES` procedure retrieves one or more lines of text from the message buffer into a collection. Only text that was terminated by an end-of-line character sequence is retrieved. That includes complete lines generated using `PUT_LINE` or by a series of `PUT` calls followed by a `NEW_LINE` call.
```text
GET_LINES( OUT CHARARR, IN OUT INTEGER)
@@ -206,15 +206,15 @@ GET_LINES( OUT CHARARR, IN OUT INTEGER)
`numlines IN`
- Number of lines to be retrieved from the message buffer.
+ Number of lines to retrieve from the message buffer.
`numlines OUT`
- Actual number of lines retrieved from the message buffer. If the output value of `numlines` is less than the input value, then there are no more lines left in the message buffer.
+ Actual number of lines retrieved from the message buffer. If the output value of `numlines` is less than the input value, then no more lines are left in the message buffer.
### Examples
-The following example uses the `GET_LINES` procedure to store all rows from the `emp` table that were placed on the message buffer, into an array.
+This example uses the `GET_LINES` procedure to store all rows from the `emp` table that were placed in the message buffer into an array.
```text
EXEC DBMS_OUTPUT.SERVEROUTPUT(FALSE);
@@ -347,11 +347,11 @@ PUT_LINE(- VARCHAR2)
`item`
- Text to be written to the message buffer.
+ Text to write to the message buffer.
### Examples
-The following example uses the `PUT_LINE` procedure to display a comma-delimited list of employees from the `emp` table.
+This example uses the `PUT_LINE` procedure to display a comma-delimited list of employees from the `emp` table.
```text
DECLARE
@@ -385,25 +385,25 @@ END;
## SERVEROUTPUT
-The `SERVEROUTPUT` procedure provides the capability to direct messages to standard output of the command line or to the message buffer. Setting `SERVEROUTPUT(TRUE)` also performs an implicit execution of `ENABLE`.
+The `SERVEROUTPUT` procedure directs messages to standard output of the command line or to the message buffer. Setting `SERVEROUTPUT(TRUE)` also performs an implicit execution of `ENABLE`.
-The default setting of `SERVEROUTPUT` is implementation dependent. For example, in Oracle SQL\*Plus, `SERVEROUTPUT(FALSE)` is the default. In PSQL, `SERVEROUTPUT(TRUE)` is the default. Also note that in Oracle SQL\*Plus, this setting is controlled using the SQL\*Plus `SET` command, not by a stored procedure as implemented in EDB Postgres Advanced Server.
+The default setting of `SERVEROUTPUT` depends on the implementation. For example, in Oracle SQL\*Plus, `SERVEROUTPUT(FALSE)` is the default. In PSQL, `SERVEROUTPUT(TRUE)` is the default. Also, in Oracle SQL\*Plus, you control this setting using the SQL\*Plus `SET` comman, not by a stored procedure as implemented in EDB Postgres Advanced Server.
```text
SERVEROUTPUT( BOOLEAN)
```
-To get an Oracle-style display output, you can set the `dbms_output.serveroutput` to `FALSE` in the `postgresql.conf` file; this disables the message output. The default is `TRUE`, which enables the message output.
+To get an Oracle-style display output, you can set the `dbms_output.serveroutput` to `FALSE` in the `postgresql.conf` file, which disables the message output. The default is `TRUE`, which enables the message output.
### Parameter
`stdout`
- Set to `TRUE` if subsequent `PUT, PUT_LINE`, or `NEW_LINE` commands are to send text directly to standard output of the command line. Set to `FALSE` if text is to be sent to the message buffer.
+ Set to `TRUE` if you want subsequent `PUT`, `PUT_LINE`, or `NEW_LINE` to send text directly to standard output of the command line. Set to `FALSE` to send text to the message buffer.
### Examples
-The following anonymous block sends the first message to the command line and the second message to the message buffer.
+This anonymous block sends the first message to the command line and the second message to the message buffer.
```text
BEGIN
@@ -416,7 +416,7 @@ END;
This message goes to the command line
```
-If within the same session, the following anonymous block is executed, the message stored in the message buffer from the prior example is flushed and displayed on the command line as well as the new message.
+If, in the same session, the following anonymous block is executed, the message stored in the message buffer from the prior example is flushed. It's displayed on the command line along with the new message.
```text
BEGIN
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/01_create_pipe.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/01_create_pipe.mdx
index 9908462d8e1..e202cb49330 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/01_create_pipe.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/01_create_pipe.mdx
@@ -25,11 +25,11 @@ The `CREATE_PIPE` function creates an explicit public pipe or an explicit privat
`status`
- Status code returned by the operation. 0 indicates successful creation.
+ Status code returned by the operation. `0` indicates successful creation.
## Examples
-The following example creates a private pipe named `messages:`
+This example creates a private pipe named `messages`:
```text
DECLARE
@@ -41,7 +41,7 @@ END;
CREATE_PIPE status: 0
```
-The following example creates a public pipe named `mailbox:`
+This example creates a public pipe named `mailbox`:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/02_next_item_pipe.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/02_next_item_pipe.mdx
index f65ed7200cb..d593cf01c67 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/02_next_item_pipe.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/02_next_item_pipe.mdx
@@ -2,7 +2,7 @@
title: "NEXT_ITEM_TYPE"
---
-The `NEXT_ITEM_TYPE` function returns an integer code identifying the data type of the next data item in a message that has been retrieved into the session’s local message buffer. As each item is moved off of the local message buffer with the `UNPACK_MESSAGE` procedure, the `NEXT_ITEM_TYPE` function returns the data type code for the next available item. A code of 0 is returned when there are no more items left in the message.
+The `NEXT_ITEM_TYPE` function returns an integer code identifying the data type of the next data item in a message that was retrieved into the session’s local message buffer. As each item is moved off of the local message buffer with the `UNPACK_MESSAGE` procedure, the `NEXT_ITEM_TYPE` function returns the data type code for the next available item. A code of `0` is returned when no more items are left in the message.
```text
INTEGER NEXT_ITEM_TYPE
@@ -12,7 +12,7 @@ The `NEXT_ITEM_TYPE` function returns an integer code identifying the data type
`typecode`
- Code identifying the data type of the next data item as shown in the following table.
+ Code identifying the data type of the next data item is shown in the following table.
| Type code | Data type |
| --------- | ------------------ |
@@ -23,11 +23,11 @@ The `NEXT_ITEM_TYPE` function returns an integer code identifying the data type
| `23` | `RAW` |
!!! Note
- The type codes list in the table are not compatible with Oracle databases. Oracle assigns a different numbering sequence to the data types.
+ The type codes listed in the table aren't compatible with Oracle databases. Oracle assigns a different numbering sequence to the data types.
## Examples
-The following example shows a pipe packed with a `NUMBER` item, a `VARCHAR2` item, a `DATE` item, and a `RAW` item. A second anonymous block then uses the `NEXT_ITEM_TYPE` function to display the type code of each item.
+This example shows a pipe packed with a `NUMBER` item, a `VARCHAR2` item, a `DATE` item, and a `RAW` item. A second anonymous block then uses the `NEXT_ITEM_TYPE` function to display the type code of each item.
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/03_pack_message.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/03_pack_message.mdx
index f1bf6edd60a..dabe426120f 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/03_pack_message.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/03_pack_message.mdx
@@ -2,7 +2,7 @@
title: "PACK_MESSAGE"
---
-The `PACK_MESSAGE` procedure places an item of data in the session’s local message buffer. `PACK_MESSAGE` must be executed at least once before issuing a `SEND_MESSAGE` call.
+The `PACK_MESSAGE` procedure places an item of data in the session’s local message buffer. You must execute `PACK_MESSAGE` at least once before issuing a `SEND_MESSAGE` call.
```text
PACK_MESSAGE(
- { DATE | NUMBER | VARCHAR2 | RAW })
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/04_purge.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/04_purge.mdx
index a74224e6b41..5121727a367 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/04_purge.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/04_purge.mdx
@@ -60,7 +60,7 @@ Purge the pipe:
EXEC DBMS_PIPE.PURGE('pipe');
```
-Try to retrieve the next message. The `RECEIVE_MESSAGE` call returns status code 1 indicating it timed out because no message was available.
+Try to retrieve the next message. The `RECEIVE_MESSAGE` call returns status code `1` indicating it timed out because no message was available.
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/06_remove_pipe.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/06_remove_pipe.mdx
index d03a9bc4318..8abf4ed83ab 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/06_remove_pipe.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/06_remove_pipe.mdx
@@ -8,7 +8,7 @@ The `REMOVE_PIPE` function deletes an explicit private or explicit public pipe.
INTEGER REMOVE_PIPE( VARCHAR2)
```
-Use the `REMOVE_PIPE` function to delete explicitly created pipes – i.e., pipes created with the `CREATE_PIPE` function.
+Use the `REMOVE_PIPE` function to delete explicitly created pipes, that is, pipes created with the `CREATE_PIPE` function.
## Parameters
@@ -18,7 +18,7 @@ Use the `REMOVE_PIPE` function to delete explicitly created pipes – i.e., pipe
`status`
- Status code returned by the operation. A status code of 0 is returned even if the named pipe is non-existent.
+ Status code returned by the operation. A status code of `0` is returned even if the named pipe is nonexistent.
## Examples
@@ -73,7 +73,7 @@ remove_pipe
(1 row)
```
-Try to retrieve the next message. The `RECEIVE_MESSAGE` call returns status code 1 indicating it timed out because the pipe had been deleted.
+Try to retrieve the next message. The `RECEIVE_MESSAGE` call returns status code `1` indicating it timed out because the pipe was deleted.
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/07_reset_buffer.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/07_reset_buffer.mdx
index 21d75b9d9e6..19161900e3c 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/07_reset_buffer.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/07_reset_buffer.mdx
@@ -2,7 +2,7 @@
title: "RESET_BUFFER"
---
-The `RESET_BUFFER` procedure resets a “pointer” to the session’s local message buffer back to the beginning of the buffer. This has the effect of causing subsequent `PACK_MESSAGE` calls to overwrite any data items that existed in the message buffer prior to the `RESET_BUFFER` call.
+The `RESET_BUFFER` procedure resets a pointer to the session’s local message buffer back to the beginning of the buffer. This causes later `PACK_MESSAGE` calls to overwrite any data items that were in the message buffer before the `RESET_BUFFER` call.
```text
RESET_BUFFER
@@ -29,7 +29,7 @@ END;
SEND_MESSAGE status: 0
```
-The message to Bob is in the received message.
+The message to Bob is in the received message:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/08_send_message.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/08_send_message.mdx
index b369ae03cd8..123eea97e13 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/08_send_message.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/08_send_message.mdx
@@ -29,7 +29,7 @@ The `SEND_MESSAGE` function sends a message from the session’s local message b
The possible status codes are:
-| Status Code | Description |
+| Status code | Description |
| ----------- | -------------------- |
| `0` | Success |
| `1` | Time out |
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/09_unique_session_name.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/09_unique_session_name.mdx
index 589c08b0c02..ba288605f2d 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/09_unique_session_name.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/09_unique_session_name.mdx
@@ -2,7 +2,7 @@
title: "UNIQUE_SESSION_NAME"
---
-The `UNIQUE_SESSION_NAME` function returns a name, unique to the current session.
+The `UNIQUE_SESSION_NAME` function returns a name that is unique to the current session.
```text
VARCHAR2 UNIQUE_SESSION_NAME
@@ -16,7 +16,7 @@ The `UNIQUE_SESSION_NAME` function returns a name, unique to the current session
## Examples
-The following anonymous block retrieves and displays a unique session name.
+The following anonymous block retrieves and displays a unique session name:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/10_unpack_message.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/10_unpack_message.mdx
index 3fc7c2f850b..f95008e4e17 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/10_unpack_message.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/10_unpack_message.mdx
@@ -2,7 +2,7 @@
title: "UNPACK_MESSAGE"
---
-The `UNPACK_MESSAGE` procedure copies the data items of a message from the local message buffer to a specified program variable. The message must be placed in the local message buffer with the `RECEIVE_MESSAGE` function before using `UNPACK_MESSAGE`.
+The `UNPACK_MESSAGE` procedure copies the data items of a message from the local message buffer to a specified program variable. You must place the message in the local message buffer with the `RECEIVE_MESSAGE` function before using `UNPACK_MESSAGE`.
```text
UNPACK_MESSAGE(
- OUT { DATE | NUMBER | VARCHAR2 | RAW })
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/11_comprehensive_example.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/11_comprehensive_example.mdx
index ffdcba9a7fd..48be5132f13 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/11_comprehensive_example.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/11_comprehensive_example.mdx
@@ -2,7 +2,11 @@
title: "Comprehensive example"
---
-The following example uses a pipe as a “mailbox." The procedures to create the mailbox, add a multi-item message to the mailbox (up to three items), and display the full contents of the mailbox are enclosed in a package named, `mailbox`.
+This example uses a pipe as a “mailbox." Three procedures are enclosed in a package named `mailbox`. These procedures:
+
+1. Create the mailbox.
+2. Add a multi-item message to the mailbox (up to three items).
+3. Display the full contents of the mailbox.
```text
CREATE OR REPLACE PACKAGE mailbox
@@ -110,7 +114,7 @@ IS
END mailbox;
```
-The following demonstrates the execution of the procedures in `mailbox`. The first procedure creates a public pipe using a name generated by the `UNIQUE_SESSION_NAME` function.
+The following shows executing the procedures in `mailbox`. The first procedure creates a public pipe using a name generated by the `UNIQUE_SESSION_NAME` function.
```text
EXEC mailbox.create_mailbox;
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/index.mdx
index 1a024f76cdd..d9218d8b6ee 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/10_dbms_pipe/index.mdx
@@ -7,13 +7,13 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.155.html"
---
-The `DBMS_PIPE` package provides the capability to send messages through a pipe within or between sessions connected to the same database cluster.
+The `DBMS_PIPE` package lets you send messages through a pipe in or between sessions connected to the same database cluster.
-The procedures and functions available in the `DBMS_PIPE` package are listed in the following table:
+The table shows the procedures and functions available in the `DBMS_PIPE` package:
| Function/procedure | Return type | Description |
| ------------------------------------------------------ | ----------- | --------------------------------------------------------------------------------------------------------------- |
-| `CREATE_PIPE(pipename [, maxpipesize ] [, private ])` | `INTEGER` | Explicitly create a private pipe if `private` is “true” (the default) or a public pipe if `private` is “false”. |
+| `CREATE_PIPE(pipename [, maxpipesize ] [, private ])` | `INTEGER` | Explicitly create a private pipe if `private` is `true` (the default) or a public pipe if `private` is `false`. |
| `NEXT_ITEM_TYPE` | `INTEGER` | Determine the data type of the next item in a received message. |
| `PACK_MESSAGE(item)` | n/a | Place `item` in the session’s local message buffer. |
| `PURGE(pipename)` | n/a | Remove unreceived messages from the specified pipe. |
@@ -24,15 +24,15 @@ The procedures and functions available in the `DBMS_PIPE` package are listed in
| `UNIQUE_SESSION_NAME` | `VARCHAR2` | Obtain a unique session name. |
| `UNPACK_MESSAGE(item OUT)` | n/a | Retrieve the next data item from a message into a type-compatible variable, `item`. |
-Pipes are categorized as implicit or explicit. An *implicit pipe* is created if a reference is made to a pipe name that was not previously created by the `CREATE_PIPE` function. For example, if the `SEND_MESSAGE` function is executed using a non-existent pipe name, a new implicit pipe is created with that name. An *explicit pipe* is created using the `CREATE_PIPE` function whereby the first parameter specifies the pipe name for the new pipe.
+Pipes are categorized as *implicit* or *explicit*. An implicit pipe is created if a reference is made to a pipe name that wasn't previously created by the `CREATE_PIPE` function. For example, if the `SEND_MESSAGE` function is executed using a nonexistent pipe name, a new implicit pipe is created with that name. An explicit pipe is created using the `CREATE_PIPE` function in which the first parameter specifies the pipe name for the new pipe.
-Pipes are also categorized as private or public. A *private pipe* can only be accessed by the user who created the pipe. Even a superuser cannot access a private pipe that was created by another user. A *public pipe* can be accessed by any user who has access to the `DBMS_PIPE` package.
+Pipes are also categorized as *private* or *public*. Only the user who created the pipe can access a private pipe. Even a superuser can't access a private pipe that was created by another user. Any user who has access to the `DBMS_PIPE` package can access a public pipe.
-A public pipe can only be created by using the `CREATE_PIPE` function with the third parameter set to `FALSE`. The `CREATE_PIPE` function can be used to create a private pipe by setting the third parameter to `TRUE` or by omitting the third parameter. All implicit pipes are private.
+You can create a public pipe only by using the `CREATE_PIPE` function with the third parameter set to `FALSE`. You can use the `CREATE_PIPE` function to create a private pipe by setting the third parameter to `TRUE` or by omitting the third parameter. All implicit pipes are private.
-The individual data items or “lines” of a message are first built-in a *local message buffer*, unique to the current session. The `PACK_MESSAGE` procedure builds the message in the session’s local message buffer. The `SEND_MESSAGE` function is then used to send the message through the pipe.
+The individual data items, or lines, of a message are first built in a *local message buffer*, unique to the current session. The `PACK_MESSAGE` procedure builds the message in the session’s local message buffer. You then use the `SEND_MESSAGE` function to send the message through the pipe.
-Receipt of a message involves the reverse operation. The `RECEIVE_MESSAGE` function is used to get a message from the specified pipe. The message is written to the session’s local message buffer. The `UNPACK_MESSAGE` procedure is then used to transfer the message data items from the message buffer to program variables. If a pipe contains multiple messages, `RECEIVE_MESSAGE` gets the messages in *FIFO* (first-in-first-out) order.
+Receipt of a message involves the reverse operation. You use the `RECEIVE_MESSAGE` function to get a message from the specified pipe. The message is written to the session’s local message buffer. You then use The `UNPACK_MESSAGE` procedure to transfer the message data items from the message buffer to program variables. If a pipe contains multiple messages, `RECEIVE_MESSAGE` gets the messages in FIFO (first-in-first-out) order.
Each session maintains separate message buffers for messages created with the `PACK_MESSAGE` procedure and messages retrieved by the `RECEIVE_MESSAGE` function. Thus messages can be both built and received in the same session. However, if consecutive `RECEIVE_MESSAGE` calls are made, only the message from the last `RECEIVE_MESSAGE` call is preserved in the local message buffer.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/11_dbms_profiler.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/11_dbms_profiler.mdx
index 1c10cd76247..f9901fedd74 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/11_dbms_profiler.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/11_dbms_profiler.mdx
@@ -13,26 +13,26 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.137.html"
---
-The `DBMS_PROFILER` package collects and stores performance information about the PL/pgSQL and SPL statements that are executed during a performance profiling session; use the functions and procedures listed below to control the profiling tool.
+The `DBMS_PROFILER` package collects and stores performance information about the PL/pgSQL and SPL statements that are executed during a performance profiling session. Use these functions and procedures to control the profiling tool.
| Function/procedure | Return type | Description |
| --------------------------------------------------------------- | ------------------------ | ---------------------------------------------------------------------------------------------------------------- |
-| `FLUSH_DATA` | Status Code or Exception | Flushes performance data collected in the current session without terminating the session (profiling continues). |
+| `FLUSH_DATA` | Status Code or Exception | Flushes performance data collected in the current session without terminating the session. Profiling continues. |
| `GET_VERSION(major OUT, minor OUT)` | n/a | Returns the version number of this package. |
| `INTERNAL_VERSION_CHECK` | Status Code | Confirms that the current version of the profiler works with the current database. |
-| `PAUSE_PROFILER` | Status Code or Exception | Pause data collection. |
-| `RESUME_PROFILER` | Status Code or Exception | Resume data collection. |
-| `START_PROFILER(run_comment, run_comment1 [, run_number OUT ])` | Status Code or Exception | Start data collection. |
-| `STOP_PROFILER` | Status Code or Exception | Stop data collection and flush performance data to the `PLSQL_PROFILER_RAWDATA` table. |
+| `PAUSE_PROFILER` | Status Code or Exception | Pauses data collection. |
+| `RESUME_PROFILER` | Status Code or Exception | Resumes data collection. |
+| `START_PROFILER(run_comment, run_comment1 [, run_number OUT ])` | Status Code or Exception | Starts data collection. |
+| `STOP_PROFILER` | Status Code or Exception | Stops data collection and flushes performance data to the `PLSQL_PROFILER_RAWDATA` table. |
-The functions within the `DBMS_PROFILER` package return a status code to indicate success or failure; the `DBMS_PROFILER` procedures raise an exception only if they encounter a failure. The status codes and messages returned by the functions, and the exceptions raised by the procedures are listed in the table below.
+The functions in the `DBMS_PROFILER` package return a status code to indicate success or failure. The `DBMS_PROFILER` procedures raise an exception only if they encounter a failure. The table shows the status codes and messages returned by the functions and the exceptions raised by the procedures.
| Status code | Message | Exception | Description |
| ----------- | --------------- | ------------------ | ------------------------------------------------------- |
| `-1` | `error version` | `version_mismatch` | The profiler version and the database are incompatible. |
| `0` | `success` | n/a | The operation completed successfully. |
| `1` | `error_param` | `profiler_error` | The operation received an incorrect parameter. |
-| `2` | `error_io` | `profiler_error` | The data flush operation has failed. |
+| `2` | `error_io` | `profiler_error` | The data flush operation failed. |
## FLUSH_DATA
@@ -162,9 +162,9 @@ STOP_PROFILER
## Using DBMS_PROFILER
-The `DBMS_PROFILER` package collects and stores performance information about the PL/pgSQL and SPL statements that are executed during a profiling session; you can review the performance information in the tables and views provided by the profiler.
+The `DBMS_PROFILER` package collects and stores performance information about the PL/pgSQL and SPL statements that are executed during a profiling session. You can review the performance information in the tables and views provided by the profiler.
-`DBMS_PROFILER` works by recording a set of performance-related counters and timers for each line of PL/pgSQL or SPL statement that executes within a profiling session. The counters and timers are stored in a table named `SYS.PLSQL_PROFILER_DATA`. When you complete a profiling session, `DBMS_PROFILER` writes a row to the performance statistics table for each line of PL/pgSQL or SPL code that executed within the session. For example, if you execute the following function:
+`DBMS_PROFILER` works by recording a set of performance-related counters and timers for each line of PL/pgSQL or SPL statement that executes in a profiling session. The counters and timers are stored in a table named `SYS.PLSQL_PROFILER_DATA`. When you complete a profiling session, `DBMS_PROFILER` writes a row to the performance statistics table for each line of PL/pgSQL or SPL code that executed in the session. For example, suppose you execute the following function:
```text
1 - CREATE OR REPLACE FUNCTION getBalance(acctNumber INTEGER)
@@ -183,35 +183,36 @@ The `DBMS_PROFILER` package collects and stores performance information about th
14- $$ LANGUAGE 'plpgsql';
```
-`DBMS_PROFILER` adds one `PLSQL_PROFILER_DATA` entry for each line of code within the `getBalance()` function (including blank lines and comments). The entry corresponding to the `SELECT` statement executed exactly one time; and required a very small amount of time to execute. On the other hand, the entry corresponding to the `RAISE INFO` statement executed once or not at all (depending on the value for the `balance` column).
+`DBMS_PROFILER` adds one `PLSQL_PROFILER_DATA` entry for each line of code in the `getBalance()` function, including blank lines and comments. The entry corresponding to the `SELECT` statement executed exactly one time and required a very small amount of time to execute. On the other hand, the entry corresponding to the `RAISE INFO` statement executed once or not at all, depending on the value for the `balance` column.
Some of the lines in this function contain no executable code so the performance statistics for those lines always contains zero values.
-To start a profiling session, invoke the `DBMS_PROFILER.START_PROFILER` function (or procedure). Once you've invoked `START_PROFILER`, EDB Postgres Advanced Server profiles every PL/pgSQL or SPL function, procedure, trigger, or anonymous block that your session executes until you either stop or pause the profiler (by calling `STOP_PROFILER` or `PAUSE_PROFILER`).
+To start a profiling session, invoke the `DBMS_PROFILER.START_PROFILER` function or procedure. Once you've invoked `START_PROFILER`, EDB Postgres Advanced Server profiles every PL/pgSQL or SPL function, procedure, trigger, or anonymous block that your session executes until you either stop or pause the profiler by calling `STOP_PROFILER` or `PAUSE_PROFILER`.
-It is important to note that when you start (or resume) the profiler, the profiler gathers performance statistics only for functions/procedures/triggers that start after the call to `START_PROFILER` (or `RESUME_PROFILER`).
+!!! Note
+ When you start or resume the profiler, the profiler gathers performance statistics only for functions/procedures/triggers that start after the call to `START_PROFILER` (or `RESUME_PROFILER`).
-While the profiler is active, EDB Postgres Advanced Server records a large set of timers and counters in memory; when you invoke the `STOP_PROFILER` (or `FLUSH_DATA`) function/procedure, `DBMS_PROFILER` writes those timers and counters to a set of three tables:
+While the profiler is active, EDB Postgres Advanced Server records a large set of timers and counters in memory. When you invoke the `STOP_PROFILER` or `FLUSH_DATA` function/procedure, `DBMS_PROFILER` writes those timers and counters to a set of three tables:
- `SYS.PLSQL_PROFILER_RAWDATA`
- Contains the performance counters and timers for each statement executed within the session.
+ Contains the performance counters and timers for each statement executed in the session.
- `SYS.PLSQL_PROFILER_RUNS`
- Contains a summary of each run (aggregating the information found in `PLSQL_PROFILER_RAWDATA`).
+ Contains a summary of each run, aggregating the information found in `PLSQL_PROFILER_RAWDATA`.
- `SYS.PLSQL_PROFILER_UNITS`
- Contains a summary of each code unit (function, procedure, trigger, or anonymous block) executed within a session.
+ Contains a summary of each code unit (function, procedure, trigger, or anonymous block) executed in a session.
In addition, `DBMS_PROFILER` defines a view, `SYS.PLSQL_PROFILER_DATA`, which contains a subset of the `PLSQL_PROFILER_RAWDATA` table.
-A non-superuser may gather profiling information, but may not view that profiling information unless a superuser grants specific privileges on the profiling tables (stored in the `SYS` schema). This permits a non-privileged user to gather performance statistics without exposing information that the administrator may want to keep secret.
+A user who is not a superuser can gather profiling information but can't view that profiling information unless a superuser grants specific privileges on the profiling tables stored in the `SYS` schema. This permits a nonprivileged user to gather performance statistics without exposing information that the administrator might want to keep secret.
### Querying the DBMS_PROFILER tables and view
-The following step-by-step example uses `DBMS_PROFILER` to retrieve performance information for procedures, functions, and triggers included in the sample data distributed with EDB Postgres Advanced Server.
+The following example uses `DBMS_PROFILER` to retrieve performance information for procedures, functions, and triggers included in the sample data distributed with EDB Postgres Advanced Server.
1. Open the EDB-PSQL command line, and establish a connection to the EDB Postgres Advanced Server database. Use an `EXEC` statement to start the profiling session:
@@ -222,9 +223,9 @@ EDB-SPL Procedure successfully completed
```
!!! Note
- (The call to `start_profiler()` includes a comment that `DBMS_PROFILER` associates with the profiler session).
+ The call to `start_profiler()` includes a comment that `DBMS_PROFILER` associates with the profiler session.
-2. Then call the `list_emp` function:
+2. Call the `list_emp` function:
```text
acctg=# SELECT list_emp();
@@ -250,7 +251,7 @@ INFO: 7934 MILLER
(1 row)
```
-3. Stop the profiling session with a call to `dbms_profiler.stop_profiler:`
+3. Stop the profiling session with a call to `dbms_profiler.stop_profiler`:
```text
acctg=# EXEC dbms_profiler.stop_profiler;
@@ -258,7 +259,7 @@ acctg=# EXEC dbms_profiler.stop_profiler;
EDB-SPL Procedure successfully completed
```
-4. Start a new session with the `dbms_profiler.start_profiler` function (followed by a new comment):
+4. Start a new session with the `dbms_profiler.start_profiler` function followed by a new comment:
```text
acctg=# EXEC dbms_profiler.start_profiler('profile get_dept_name and
@@ -289,7 +290,7 @@ INFO: User enterprisedb updated employee(s) on 04-FEB-14
UPDATE 1
```
-7. Terminate the profiling session and flush the performance information to the profiling tables:
+7. End the profiling session and flush the performance information to the profiling tables:
```text
acctg=# EXEC dbms_profiler.stop_profiler;
@@ -297,7 +298,7 @@ acctg=# EXEC dbms_profiler.stop_profiler;
EDB-SPL Procedure successfully completed
```
-8. Now, query the `plsql_profiler_runs` table to view a list of the profiling sessions, arranged by `runid:`
+8. Query the `plsql_profiler_runs` table to view a list of the profiling sessions, arranged by `runid:`
```text
acctg=# SELECT * FROM plsql_profiler_runs;
@@ -316,7 +317,7 @@ acctg=# SELECT * FROM plsql_profiler_runs;
(2 rows)
```
-9. Query the `plsql_profiler_units` table to view the amount of time consumed by each unit (each function, procedure, or trigger):
+9. Query the `plsql_profiler_units` table to view the amount of time consumed by each unit (function, procedure, or trigger):
```text
acctg=# SELECT * FROM plsql_profiler_units;
@@ -335,7 +336,7 @@ acctg=# SELECT * FROM plsql_profiler_units;
(4 rows)
```
-10. Query the `plsql_profiler_rawdata` table to view a list of the wait event counters and wait event times:
+10. Query the `plsql_profiler_rawdata` table to view a list of the wait-event counters and wait-event times:
```text
acctg=# SELECT runid, sourcecode, func_oid, line_number, exec_count,
@@ -641,7 +642,7 @@ The EDB Postgres Advanced Server installer creates the following tables and view
| `PLSQL_PROFILER_RUNS` | Table containing information about all profiler runs, organized by `runid`. |
| `PLSQL_PROFILER_UNITS` | Table containing information about all profiler runs, organized by unit. |
| `PLSQL_PROFILER_DATA` | View containing performance statistics. |
-| `PLSQL_PROFILER_RAWDATA` | Table containing the performance statistics `and` the extended performance statistics for DRITA counters and timers. |
+| `PLSQL_PROFILER_RAWDATA` | Table containing the performance statistics and the extended performance statistics for DRITA counters and timers. |
#### PLSQL_PROFILER_RUNS
@@ -650,14 +651,14 @@ The `PLSQL_PROFILER_RUNS` table contains the following columns:
| Column | Data type | Description |
| ----------------- | ----------------------------- | ---------------------------------------------- |
| `runid` | `INTEGER (NOT NULL)` | Unique identifier (`plsql_profiler_runnumber`) |
-| `related_run` | `INTEGER` | The `runid` of a related run. |
-| `run_owner` | `TEXT` | The role that recorded the profiling session. |
-| `run_date` | `TIMESTAMP WITHOUT TIME ZONE` | The profiling session start time. |
+| `related_run` | `INTEGER` | The `runid` of a related run |
+| `run_owner` | `TEXT` | The role that recorded the profiling session |
+| `run_date` | `TIMESTAMP WITHOUT TIME ZONE` | The profiling session start time |
| `run_comment` | `TEXT` | User comments relevant to this run |
| `run_total_time` | `BIGINT` | Run time (in microseconds) |
-| `run_system_info` | `TEXT` | Currently Unused |
+| `run_system_info` | `TEXT` | Currently unused |
| `run_comment1` | `TEXT` | Additional user comments |
-| `spare1` | `TEXT` | Currently Unused |
+| `spare1` | `TEXT` | Currently unused |
#### PLSQL_PROFILER_UNITS
@@ -666,14 +667,14 @@ The `PLSQL_PROFILER_UNITS` table contains the following columns:
| Column | Data type | Description |
| ---------------- | ----------------------------- | -------------------------------------------------------------------------------- |
| `runid` | `INTEGER` | Unique identifier (`plsql_profiler_runnumber`) |
-| `unit_number` | `OID` | Corresponds to the OID of the row in the pg_proc table that identifies the unit. |
+| `unit_number` | `OID` | Corresponds to the OID of the row in the pg_proc table that identifies the unit |
| `unit_type` | `TEXT` | PL/SQL function, procedure, trigger or anonymous block |
-| `unit_owner` | `TEXT` | The identity of the role that owns the unit. |
-| `unit_name` | `TEXT` | The complete signature of the unit. |
-| `unit_timestamp` | `TIMESTAMP WITHOUT TIME ZONE` | Creation date of the unit (currently NULL). |
+| `unit_owner` | `TEXT` | The identity of the role that owns the unit |
+| `unit_name` | `TEXT` | The complete signature of the unit |
+| `unit_timestamp` | `TIMESTAMP WITHOUT TIME ZONE` | Creation date of the unit (currently NULL) |
| `total_time` | `BIGINT` | Time spent within the unit (in milliseconds) |
-| `spare1` | `BIGINT` | Currently Unused |
-| `spare2` | `BIGINT` | Currently Unused |
+| `spare1` | `BIGINT` | Currently unused |
+| `spare2` | `BIGINT` | Currently unused |
#### PLSQL_PROFILER_DATA
@@ -682,47 +683,47 @@ The `PLSQL_PROFILER_DATA` view contains the following columns:
| Column | Data type | Description |
| ------------- | ------------------ | -------------------------------------------------------- |
| `runid` | `INTEGER` | Unique identifier (`plsql_profiler_runnumber`) |
-| `unit_number` | `OID` | Object ID of the unit that contains the current line. |
-| `line#` | `INTEGER` | Current line number of the profiled workload. |
-| `total_occur` | `BIGINT` | The number of times that the line was executed. |
+| `unit_number` | `OID` | Object ID of the unit that contains the current line |
+| `line#` | `INTEGER` | Current line number of the profiled workload |
+| `total_occur` | `BIGINT` | The number of times that the line was executed |
| `total_time` | `DOUBLE PRECISION` | The amount of time spent executing the line (in seconds) |
-| `min_time` | `DOUBLE PRECISION` | The minimum execution time for the line. |
-| `max_time` | `DOUBLE PRECISION` | The maximum execution time for the line. |
-| `spare1` | `NUMBER` | Currently Unused |
-| `spare2` | `NUMBER` | Currently Unused |
-| `spare3` | `NUMBER` | Currently Unused |
-| `spare4` | `NUMBER` | Currently Unused |
+| `min_time` | `DOUBLE PRECISION` | The minimum execution time for the line |
+| `max_time` | `DOUBLE PRECISION` | The maximum execution time for the line |
+| `spare1` | `NUMBER` | Currently unused |
+| `spare2` | `NUMBER` | Currently unused |
+| `spare3` | `NUMBER` | Currently unused |
+| `spare4` | `NUMBER` | Currently unused |
#### PLSQL_PROFILER_RAWDATA
-The `PLSQL_PROFILER_RAWDATA` table contains the statistical and wait events information that is found in the `PLSQL_PROFILER_DATA` view, as well as the performance statistics returned by the DRITA counters and timers.
+The `PLSQL_PROFILER_RAWDATA` table contains the statistical and wait-events information found in the `PLSQL_PROFILER_DATA` view, as well as the performance statistics returned by the DRITA counters and timers.
| Column | Data type | Description |
| ---------------------------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `runid` | `INTEGER` | The run identifier `(plsql_profiler_runnumber)`. |
| `sourcecode` | `TEXT` | The individual line of profiled code. |
-| `func_oid` | `OID` | Object ID of the unit that contains the current line. |
+| `func_oid` | `OID` | Object ID of the unit that contains the current line. |
| `line_number` | `INTEGER` | Current line number of the profiled workload. |
| `exec_count` | `BIGINT` | The number of times that the line was executed. |
-| `tuples_returned` | `BIGINT` | Currently Unused |
-| `time_total` | `DOUBLE PRECISION` | The amount of time spent executing the line (in seconds) |
+| `tuples_returned` | `BIGINT` | Currently unused. |
+| `time_total` | `DOUBLE PRECISION` | The amount of time spent executing the line, in seconds. |
| `time_shortest` | `DOUBLE PRECISION` | The minimum execution time for the line. |
| `time_longest` | `DOUBLE PRECISION` | The maximum execution time for the line. |
-| `num_scans` | `BIGINT` | Currently Unused |
-| `tuples_fetched` | `BIGINT` | Currently Unused |
-| `tuples_inserted` | `BIGINT` | Currently Unused |
-| `tuples_updated` | `BIGINT` | Currently Unused |
-| `tuples_deleted` | `BIGINT` | Currently Unused |
-| `blocks_fetched` | `BIGINT` | Currently Unused |
-| `blocks_hit` | `BIGINT` | Currently Unused |
-| `wal_write` | `BIGINT` | A server has waited for a write to the write-ahead log buffer (expect this value to be high). |
+| `num_scans` | `BIGINT` | Currently unused. |
+| `tuples_fetched` | `BIGINT` | Currently unused. |
+| `tuples_inserted` | `BIGINT` | Currently unused. |
+| `tuples_updated` | `BIGINT` | Currently unused. |
+| `tuples_deleted` | `BIGINT` | Currently unused. |
+| `blocks_fetched` | `BIGINT` | Currently unused. |
+| `blocks_hit` | `BIGINT` | Currently unused. |
+| `wal_write` | `BIGINT` | A server has waited for a write to the write-ahead log buffer. Expect this value to be high. |
| `wal_flush` | `BIGINT` | A server has waited for the write-ahead log to flush to disk. |
| `wal_file_sync` | `BIGINT` | A server has waited for the write-ahead log to sync to disk (related to the `wal_sync_method` parameter which, by default, is 'fsync' - better performance can be gained by changing this parameter to `open_sync`). |
| `db_file_read` | `BIGINT` | A server has waited for the completion of a read (from disk). |
| `db_file_write` | `BIGINT` | A server has waited for the completion of a write (to disk). |
| `db_file_sync` | `BIGINT` | A server has waited for the operating system to flush all changes to disk. |
| `db_file_extend` | `BIGINT` | A server has waited for the operating system while adding a new page to the end of a file. |
-| `sql_parse` | `BIGINT` | Currently Unused. |
+| `sql_parse` | `BIGINT` | Currently unused. |
| `query_plan` | `BIGINT` | A server has generated a query plan. |
| `other_lwlock_acquire` | `BIGINT` | A server has waited for other light-weight lock to protect data. |
| `shared_plan_cache_collision` | `BIGINT` | A server has waited for the completion of the `shared_plan_cache_collision` event. |
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/12_dbms_random.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/12_dbms_random.mdx
index 0807fa3fe7b..69dadd17dfc 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/12_dbms_random.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/12_dbms_random.mdx
@@ -7,7 +7,7 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.157.html"
---
-The `DBMS_RANDOM` package provides a number of methods to generate random values. The procedures and functions available in the `DBMS_RANDOM` package are listed in the following table.
+The `DBMS_RANDOM` package provides methods to generate random values. The procedures and functions available in the `DBMS_RANDOM` package are listed in the following table.
| Function/procedure | Return type | Description |
| ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
@@ -18,7 +18,7 @@ The `DBMS_RANDOM` package provides a number of methods to generate random values
| `SEED(val)` | n/a | Resets the seed with the specified `value`. |
| `STRING(opt, len)` | `VARCHAR2` | Returns a random string. |
| `TERMINATE` | n/a | `TERMINATE` has no effect. Deprecated, but supported for backward compatibility. |
-| `VALUE` | `NUMBER` | Returns a random number with a value greater than or equal to `0` and less than `1`, with 38 digit precision. |
+| `VALUE` | `NUMBER` | Returns a random number with a value greater than or equal to `0` and less than `1`, with 38-digit precision. |
| `VALUE(low, high)` | `NUMBER` | Returns a random number with a value greater than or equal to `low` and less than `high`. |
## INITIALIZE
@@ -29,7 +29,7 @@ The `INITIALIZE` procedure initializes the `DBMS_RANDOM` package with a seed val
INITIALIZE( IN INTEGER)
```
-This procedure should be considered deprecated; it is included for backward compatibility only.
+This procedure is deprecated. It is included for backward compatibility.
### Parameters
@@ -39,7 +39,7 @@ This procedure should be considered deprecated; it is included for backward comp
### Example
-The following code snippet demonstrates a call to the `INITIALIZE` procedure that initializes the `DBMS_RANDOM` package with the seed value, `6475`.
+The following code shows a call to the `INITIALIZE` procedure that initializes the `DBMS_RANDOM` package with the seed value 6475:
```text
DBMS_RANDOM.INITIALIZE(6475);
@@ -61,7 +61,7 @@ The `NORMAL` function returns a random number of type `NUMBER`. The signature is
### Example
-The following code snippet demonstrates a call to the `NORMAL` function:
+The following code shows a call to the `NORMAL` function:
```text
x:= DBMS_RANDOM.NORMAL();
@@ -75,7 +75,7 @@ The `RANDOM` function returns a random `INTEGER` value that is greater than or e
INTEGER RANDOM()
```
-This function should be considered deprecated; it is included for backward compatibility only.
+This function is deprecated. It is included for backward compatibility.
### Parameters
@@ -85,7 +85,7 @@ This function should be considered deprecated; it is included for backward compa
### Example
-The following code snippet demonstrates a call to the `RANDOM` function. The call returns a random number:
+The following code shows a call to the `RANDOM` function. The call returns a random number:
```text
x := DBMS_RANDOM.RANDOM();
@@ -93,7 +93,7 @@ x := DBMS_RANDOM.RANDOM();
## SEED
-The first form of the `SEED` procedure resets the seed value for the `DBMS_RANDOM` package with an `INTEGER` value. The `SEED` procedure is available in two forms; the signature of the first form is:
+The first form of the `SEED` procedure resets the seed value for the `DBMS_RANDOM` package with an `INTEGER` value. The `SEED` procedure is available in two forms. The signature of the first form is:
```text
SEED( IN INTEGER)
@@ -107,7 +107,7 @@ SEED( IN INTEGER)
### Example
-The following code snippet demonstrates a call to the `SEED` procedure; the call sets the seed value at `8495`.
+The following code shows a call to the `SEED` procedure. The call sets the seed value at 8495.
```text
DBMS_RANDOM.SEED(8495);
@@ -115,7 +115,7 @@ DBMS_RANDOM.SEED(8495);
## SEED
-The second form of the `SEED` procedure resets the seed value for the `DBMS_RANDOM` package with a string value. The `SEED` procedure is available in two forms; the signature of the second form is:
+The second form of the `SEED` procedure resets the seed value for the `DBMS_RANDOM` package with a string value. The `SEED` procedure is available in two forms. The signature of the second form is:
```text
SEED( IN VARCHAR2)
@@ -129,7 +129,7 @@ SEED( IN VARCHAR2)
### Example
-The following code snippet demonstrates a call to the `SEED` procedure; the call sets the seed value to `abc123`.
+The following code shows a call to the `SEED` procedure. The call sets the seed value to `abc123`.
```text
DBMS_RANDOM.SEED('abc123');
@@ -147,14 +147,14 @@ The `STRING` function returns a random `VARCHAR2` string in a user-specified for
`opt`
- Formatting option for the returned string. `option` may be:
+ Formatting option for the returned string. `option` can be:
| Option | Specifies formatting option |
| ---------- | ------------------------------- |
| `u` or `U` | Uppercase alpha string |
| `l` or `L` | Lowercase alpha string |
-| `a` or `A` | Mixed case string |
-| `x` or `X` | Uppercase alpha-numeric string |
+| `a` or `A` | Mixed-case string |
+| `x` or `X` | Uppercase alphanumeric string |
| `p` or `P` | Any printable characters |
`len`
@@ -167,7 +167,7 @@ The `STRING` function returns a random `VARCHAR2` string in a user-specified for
### Example
-The following code snippet demonstrates a call to the `STRING` function; the call returns a random alpha-numeric character string that is 10 characters long.
+The following code shows a call to the `STRING` function. The call returns a random alphanumeric character string that is 10 characters long.
```text
x := DBMS_RANDOM.STRING('X', 10);
@@ -181,11 +181,11 @@ The `TERMINATE` procedure has no effect. The signature is:
TERMINATE
```
-The `TERMINATE` procedure should be considered deprecated; the procedure is supported for compatibility only.
+The `TERMINATE` procedure is deprecated. The procedure is supported for compatibility.
## VALUE
-The `VALUE` function returns a random `NUMBER` that is greater than or equal to 0, and less than 1, with 38 digit precision. The `VALUE` function has two forms; the signature of the first form is:
+The `VALUE` function returns a random `NUMBER` that is greater than or equal to 0 and less than 1, with 38-digit precision. The `VALUE` function has two forms. The signature of the first form is:
```text
NUMBER VALUE()
@@ -199,7 +199,7 @@ The `VALUE` function returns a random `NUMBER` that is greater than or equal to
### Example
-The following code snippet demonstrates a call to the `VALUE` function. The call returns a random `NUMBER`:
+The following code shows a call to the `VALUE` function. The call returns a random `NUMBER`:
```text
x := DBMS_RANDOM.VALUE();
@@ -207,7 +207,7 @@ x := DBMS_RANDOM.VALUE();
## VALUE
-The `VALUE` function returns a random `NUMBER` with a value that is between user-specified boundaries. The `VALUE` function has two forms; the signature of the second form is:
+The `VALUE` function returns a random `NUMBER` with a value that is between boundaries that you specify. The `VALUE` function has two forms. The signature of the second form is:
```text
NUMBER VALUE( IN NUMBER, IN NUMBER)
@@ -217,11 +217,11 @@ The `VALUE` function returns a random `NUMBER` with a value that is between user
`low`
- `low` specifies the lower boundary for the random value. The random value may be equal to `low`.
+ `low` specifies the lower boundary for the random value. The random value can be equal to `low`.
`high`
- `high` specifies the upper boundary for the random value; the random value is less than `high`.
+ `high` specifies the upper boundary for the random value. The random value is less than `high`.
`result`
@@ -229,7 +229,7 @@ The `VALUE` function returns a random `NUMBER` with a value that is between user
### Example
-The following code snippet demonstrates a call to the `VALUE` function. The call returns a random `NUMBER` with a value that is greater than or equal to 1 and less than 100:
+The following code shows a call to the `VALUE` function. The call returns a random `NUMBER` with a value that is greater than or equal to 1 and less than 100:
```text
x := DBMS_RANDOM.VALUE(1, 100);
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/13_dbms_redact.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/13_dbms_redact.mdx
index 7eb30086cf7..6e789a0f73c 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/13_dbms_redact.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/13_dbms_redact.mdx
@@ -2,7 +2,7 @@
title: "DBMS_REDACT"
---
-The `DBMS_REDACT` package enables the redacting or masking of data returned by a query. The `DBMS_REDACT` package provides a procedure to create policies, alter policies, enable policies, disable policies, and drop policies. The procedures available in the `DBMS_REDACT` package are listed in the following table.
+The `DBMS_REDACT` package enables you to redact or mask data returned by a query. The `DBMS_REDACT` package provides a procedure to create, alter, enable, disable, and drop policies. The procedures available in the `DBMS_REDACT` package are listed in the following table.
| Function/procedure | Function or Procedure | Return Type | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ----------- | --------------------------------------------------------------------- |
@@ -15,11 +15,11 @@ The `DBMS_REDACT` package enables the redacting or masking of data returned by a
The data redaction feature uses the `DBMS_REDACT` package to define policies or conditions to redact data in a column based on the table column type and redaction type.
-Note that you must be the owner of the table to create or change the data redaction policies. The users are exempted from all the column redaction policies, which the table owner or super-user is by default.
+You must be the owner of the table to create or change the data redaction policies. The users are exempted from all the column redaction policies, which the table owner or superuser is by default.
## Using DBMS_REDACT constants and function parameters
-The `DBMS_REDACT` package uses the constants and redacts the column data by using any one of the data redaction types. The redaction type can be decided based on the `function_type` parameter of `dbms_redact.add_policy` and `dbms_redact.alter_policy` procedure. The below table highlights the values for `function_type` parameters of `dbms_redact.add_policy` and `dbms_redact.alter_policy`.
+The `DBMS_REDACT` package uses the constants and redacts the column data by using any one of the data redaction types. The redaction type can be decided based on the `function_type` parameter of `dbms_redact.add_policy` and `dbms_redact.alter_policy` procedure. The table highlights the values for `function_type` parameters of `dbms_redact.add_policy` and `dbms_redact.alter_policy`.
| Constant | Type | Value | Description |
| --------- | --------- | ----- | --------------------------------------------------------------------------------------------------------- |
@@ -27,7 +27,7 @@ The `DBMS_REDACT` package uses the constants and redacts the column data by usin
| `FULL` | `INTEGER` | `1` | Full redaction, redacts full values of the column data. |
| `PARTIAL` | `INTEGER` | `2` | Partial redaction, redacts a portion of the column data. |
| `RANDOM` | `INTEGER` | `4` | Random redaction, each query results in a different random value depending on the datatype of the column. |
-| `REGEXP` | `INTEGER` | `5` | Regular Expression based redaction, searches for the pattern of data to redact. |
+| `REGEXP` | `INTEGER` | `5` | Regular-expression-based redaction, searches for the pattern of data to redact. |
| `CUSTOM` | `INTEGER` | `99` | Custom redaction type. |
The following table shows the values for the `action` parameter of `dbms_redact.alter_policy`.
@@ -49,26 +49,26 @@ The data redaction feature provides a predefined format to configure policies th
- `Number`
- `Datetime`
-The following table highlights the format descriptor for partial redaction with respect to datatype. The example described below shows how to perform a redaction for a string datatype (in this scenario, a Social Security Number (SSN)), a `Number` datatype, and a `DATE` datatype.
+The following table highlights the format descriptor for partial redaction with respect to datatype. The example shows how to perform a redaction for a string datatype (in this scenario, a Social Security Number (SSN)), a `Number` datatype, and a `DATE` datatype.
| Datatype | Format descriptor | Description | Examples |
| --------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Character | `REDACT_PARTIAL_INPUT_FORMAT` | Specifies the input format. Enter `V` for each character from the input string to be possibly redacted. Enter `F` for each character from the input string that can be considered as a separator such as blank spaces or hyphens. | Consider `'VVVFVVFVVVV,VVV-VV-VVVV,X,1,5'` for masking first 5 digits of SSN strings such as `123-45-6789`, adding hyphen to format it and thereby resulting in strings such as `XXX-XX-6789.` The field value `VVVFVVFVVVV` for matching SSN strings such as `123-45-6789`. |
+| Character | `REDACT_PARTIAL_INPUT_FORMAT` | Specifies the input format. Enter `V` for each character from the input string to be possibly redacted. Enter `F` for each character from the input string that can be considered as a separator such as blank spaces or hyphens. | Consider `'VVVFVVFVVVV,VVV-VV-VVVV,X,1,5'` for masking first 5 digits of SSN strings such as `123-45-6789`, adding a hyphen to format it and thereby resulting in strings such as `XXX-XX-6789.` The field value `VVVFVVFVVVV` for matching SSN strings such as `123-45-6789`. |
| | `REDACT_PARTIAL_OUTPUT_FORMAT` | Specifies the output format. Enter `V` for each character from the input string to be possibly redacted. Replace each `F` character from the input format with a character such as a hyphen or any other separator. | The field value `VVV-VV-VVVV` can be used to redact SSN strings into `XXX-XX-6789` where `X` comes from `REDACT_PARTIAL_MASKCHAR` field. |
-| | `REDACT_PARTIAL_MASKCHAR` | Specifies the character to be used for redaction. | The value `X` for redacting SSN strings into `XXX-XX-6789`. |
-| | `REDACT_PARTIAL_MASKFROM` | Specifies which `V` within the input format from which to start the redaction. | The value `1` for redacting SSN strings starting at the first `V` of the input format of `VVVFVVFVVVV` into strings such as `XXX-XX-6789`. |
-| | `REDACT_PARTIAL_MASKTO` | Specifies which `V` within the input format at which to end the redaction. | The value `5` for redacting SSN strings up to and including the fifth `V` within the input format of `VVVFVVFVVVV` into strings such as `XXX-XX-6789`. |
-| Number | `REDACT_PARTIAL_MASKCHAR` | Specifies the character to be displayed in the range between 0 and 9. | `‘9, 1, 5’` for redacting the first five digits of the Social Security Number `123456789` into `999996789`. |
-| | `REDACT_PARTIAL_MASKFROM` | Specifies the start digit position for redaction. | |
-| | `REDACT_PARTIAL_MASKTO` | Specifies the end digit position for redaction. | |
-| Datetime | `REDACT_PARTIAL_DATE_MONTH` | `‘m’` redacts the month. To mask a specific month, specify `‘m#’` where # indicates the month specified by its number between `1` and `12`. | `m3` displays as March. |
+| | `REDACT_PARTIAL_MASKCHAR` | Specifies the character to use for redaction. | The value `X` for redacting SSN strings into `XXX-XX-6789`. |
+| | `REDACT_PARTIAL_MASKFROM` | Specifies the `V` in the input format from which to start the redaction. | The value `1` for redacting SSN strings starting at the first `V` of the input format of `VVVFVVFVVVV` into strings such as `XXX-XX-6789`. |
+| | `REDACT_PARTIAL_MASKTO` | Specifies the `V` in the input format at which to end the redaction. | The value `5` for redacting SSN strings up to and including the fifth `V` in the input format of `VVVFVVFVVVV` into strings such as `XXX-XX-6789`. |
+| Number | `REDACT_PARTIAL_MASKCHAR` | Specifies the character to display in the range between 0 and 9. | `‘9, 1, 5’` for redacting the first five digits of the Social Security Number `123456789` into `999996789`. |
+| | `REDACT_PARTIAL_MASKFROM` | Specifies the start-digit position for redaction. | |
+| | `REDACT_PARTIAL_MASKTO` | Specifies the end-digit position for redaction. | |
+| Datetime | `REDACT_PARTIAL_DATE_MONTH` | `‘m’` redacts the month. To mask a specific month, specify `‘m#’`, where # indicates the month specified by its number between `1` and `12`. | `m3` displays as March. |
| | `REDACT_PARTIAL_DATE_DAY` | `‘d’` redacts the day of the month. To mask with a day of the month, append `1-31` to a lowercase `d`. | `d3` displays as `03`. |
| | `REDACT_PARTIAL_DATE_YEAR` | `‘y’` redacts the year. To mask with a year, append `1-9999` to a lowercase `y`. | `y1960` displays as `60`. |
| | `REDACT_PARTIAL_DATE_HOUR` | `‘h’` redacts the hour. To mask with an hour, append `0-23` to a lowercase `h`. | `h18` displays as `18`. |
| | `REDACT_PARTIAL_DATE_MINUTE` | `‘m’` redacts the minute. To mask with a minute, append `0-59` to a lowercase `m`. | `m20` displays as `20`. |
| | `REDACT_PARTIAL_DATE_SECOND` | `‘s’` redacts the second. To mask with a second, append `0-59` to a lowercase `s`. | `s40` displays as `40`. |
-The following table represents `function_parameters` values that can be used in partial redaction.
+The following table represents `function_parameters` values that you can use in partial redaction.
| Function parameter | Data type | Value | Description |
| ----------------------------- | ---------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -96,13 +96,13 @@ The following table represents `function_parameters` values that can be used in
| `REDACT_UK_NIN_FORMATTED` | `VARCHAR2` | `'VVFVVFVVFVVFV,VV VV VV VV V,X,3,8'` | Redacts the UK National Insurance Number by `X` but leaving the alphabetic characters. **Example:** `NY 22 01 34 D` becomes `NY XX XX XX D`. |
| `REDACT_UK_NIN_UNFORMATTED` | `VARCHAR2` | `'VVVVVVVVV,VVVVVVVVV,X,3,8'` | Redacts the UK National Insurance Number by `X` but leaving the alphabetic characters. **Example:** `NY220134D` becomes `NYXXXXXXD`. |
-A regular expression-based redaction searches for patterns of data to redact. The `regexp_pattern` search the values in order for the `regexp_replace_string` to change the value. The following table illustrates the `regexp_pattern` values that you can use during `REGEXP` based redaction.
+A regular expression-based redaction searches for patterns of data to redact. The `regexp_pattern` search the values for the `regexp_replace_string` to change the value. The following table shows the `regexp_pattern` values that you can use during `REGEXP` based redaction.
| Function parameter and description | Data type | Value |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------: | :-----------------------------------------------------: |
| `RE_PATTERN_CC_L6_T4`: Searches for the middle digits of a credit card number that includes 6 leading digits and 4 trailing digits.
The `regexp_replace_string` setting to use with the format is `RE_REDACT_CC_MIDDLE_DIGITS` that replaces the identified pattern with the characters specified by the `RE_REDACT_CC_MIDDLE_DIGITS` parameter. | `VARCHAR2` | `'(\d\d\d\d\d\d)(\d\d\d*)(\d\d\d\d)'` |
| `RE_PATTERN_ANY_DIGIT`: Searches for any digit and replaces the identified pattern with the characters specified by the following values of the `regexp_replace_string` parameter.
`regexp_replace_string=> RE_REDACT_WITH_SINGLE_X`
(replaces any matched digit with the `X` character).
`regexp_replace_string=> RE_REDACT_WITH_SINGLE_1`
(replaces any matched digit with the `1` character). | `VARCHAR2` | `'\d'` |
-| `RE_PATTERN_US_PHONE`: Searches for the U.S phone number and replaces the identified pattern with the characters specified by the `regexp_replace_string` parameter.
`regexp_replace_string=> RE_REDACT_US_PHONE_L7`
(searches the phone number and then replaces the last 7 digits). | `VARCHAR2` | `'(\(\d\d\d\)\|\d\d\d)-(\d\d\d)-(\d\d\d\d)'` |
+| `RE_PATTERN_US_PHONE`: Searches for the U.S. phone number and replaces the identified pattern with the characters specified by the `regexp_replace_string` parameter.
`regexp_replace_string=> RE_REDACT_US_PHONE_L7`
(searches the phone number and then replaces the last 7 digits). | `VARCHAR2` | `'(\(\d\d\d\)\|\d\d\d)-(\d\d\d)-(\d\d\d\d)'` |
| `RE_PATTERN_EMAIL_ADDRESS`: Searches for the email address and replaces the identified pattern with the characters specified by the following values of the `regexp_replace_string` parameter.
`regexp_replace_string=> RE_REDACT_EMAIL_NAME`
(finds the email address and redacts the email username).
`regexp_replace_string=> RE_REDACT_EMAIL_DOMAIN`
(finds the email address and redacts the email domain).
`regexp_replace_string=> RE_REDACT_EMAIL_ENTIRE`
(finds the email address and redacts the entire email address). | `VARCHAR2` | `'([A-Za-z0-9._%+-]+)@([A-Za-z0-9.-]+\.[A-Za-z]{2,4})'` |
| `RE_PATTERN_IP_ADDRESS`: Searches for an IP address and replaces the identified pattern with the characters specified by the `regexp_replace_string` parameter. The `regexp_replace_string` parameter to be used is `RE_REDACT_IP_L3` that replaces the last section of an IP address with `999` and indicates it is redacted. | `VARCHAR2` | `'(\d{1,3}\.\d{1,3}\.\d{1,3})\.\d{1,3}'` |
| `RE_PATTERN_AMEX_CCN`: Searches for the American Express credit card number. The `regexp_replace_string` parameter to be used is `RE_REDACT_AMEX_CCN` that redacts all of the digits except the last 5. | `VARCHAR2` | `'.*(\d\d\d\d\d)$'` |
@@ -110,7 +110,7 @@ A regular expression-based redaction searches for patterns of data to redact. Th
| `RE_PATTERN_US_SSN`: Searches the SSN number and replaces the identified pattern with the characters specified by the `regexp_replace_string` parameter.
`'\1-XXX-XXXX'` or `'XXX-XXX-\3'` return `123-XXX-XXXX` or `XXX-XXX-6789` for the value `'123-45-6789'` respectively. | `VARCHAR2` | `'(\d\d\d)-(\d\d)-(\d\d\d\d)'` |
| | | |
-The below table illustrates the `regexp_replace_string` values that you can use during `REGEXP` based redaction.
+This table shows the `regexp_replace_string` values that you can use during `REGEXP` based redaction.
| Function parameter | Data type | Value | Description |
| ---------------------------- | ---------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
@@ -147,10 +147,10 @@ The following table shows the `regexp_match_parameter` values that you can use d
| `RE_IGNORE_WHITESPACE` | `VARCHAR2` | `'x'` | Ignores the whitespace characters. |
!!! Note
- If you create a redaction policy based on a numeric type column, then make sure that the result after redaction is a number and accordingly set the replacement string to avoid runtime errors.
+ If you create a redaction policy based on a numeric-type column, then make sure that the result after redaction is a number and set the replacement string accordingly to avoid runtime errors.
!!! Note
- If you create a redaction policy based on a character type column, then make sure that a length of the result after redaction is compatible with the column type and accordingly set the replacement string to avoid runtime errors.
+ If you create a redaction policy based on a character-type column, then make sure that a length of the result after redaction is compatible with the column type and set the replacement string accordingly to avoid runtime errors.
## ADD_POLICY
@@ -181,7 +181,7 @@ PROCEDURE add_policy (
`object_schema`
- Specifies the name of the schema in which the object resides and on which the data redaction policy is applied. If you specify `NULL` then the given object is searched by the order specified by `search_path` setting.
+ Specifies the name of the schema in which the object resides and on which the data redaction policy is applied. If you specify `NULL`, then the given object is searched by the order specified by `search_path` setting.
`object_name`
@@ -189,7 +189,7 @@ PROCEDURE add_policy (
`policy_name`
- Name of the policy to be added. Ensure that the `policy_name` is unique for the table on which the policy is created.
+ Name of the policy to add. Ensure that the `policy_name` is unique for the table on which the policy is created.
`policy_description`
@@ -197,15 +197,15 @@ PROCEDURE add_policy (
`column_name`
- Name of the column to which the redaction policy applies. To redact more than one column, use the `alter_policy` procedure to add additional columns.
+ Name of the column to which the redaction policy applies. To redact more than one column, use the `alter_policy` procedure to add more columns.
`column_description`
- Description of the column to be redacted. The `column_description` is not supported, but if you specify the description for a column then, a warning message appears.
+ Description of the column to redact. The `column_description` isn't supported, but if you specify the description for a column, a warning message appears.
`function_type`
- The type of redaction function to be used. The possible values are `NONE, FULL, PARTIAL, RANDOM, REGEXP`, and `CUSTOM`.
+ The type of redaction function to use. The possible values are `NONE`, `FULL`, `PARTIAL`, `RANDOM`, `REGEXP`, and `CUSTOM`.
`function_parameters`
@@ -213,15 +213,15 @@ PROCEDURE add_policy (
`expression`
- Specifies the Boolean expression for the table and determines how the policy is to be applied. The redaction occurs if this policy expression is evaluated to `TRUE`.
+ Specifies the Boolean expression for the table and determines how to apply the policy. The redaction occurs if this policy expression evaluates to `TRUE`.
`enable`
- When set to `TRUE`, the policy is enabled upon creation. The default is set as `TRUE`. When set to `FALSE`, the policy is disabled but the policy can be enabled by calling the `enable_policy` procedure.
+ When set to `TRUE`, the policy is enabled upon creation. The default is `TRUE`. When set to `FALSE`, the policy is disabled, but you can enable the policy cby calling the `enable_policy` procedure.
`regexp_pattern`
- Specifies the regular expression pattern to redact data. If the `regexp_pattern` does not match, then the `NULL` value is returned.
+ Specifies the regular expression pattern to redact data. If the `regexp_pattern` doesn't match, then the `NULL` value is returned.
`regexp_replace_string`
@@ -237,18 +237,18 @@ PROCEDURE add_policy (
`regexp_match_parameter`
- Changes the default matching behavior of a function. The possible regexp_match_parameter constants can be `‘RE_CASE_SENSITIVE’, ‘RE_CASE_INSENSITIVE’, ‘RE_MULTIPLE_LINES’, ‘RE_NEWLINE_WILDCARD’, ‘RE_IGNORE_WHITESPACE’`.
+ Changes the default matching behavior of a function. The possible `regexp_match_parameter` constants can be `‘RE_CASE_SENSITIVE’`, `‘RE_CASE_INSENSITIVE’`, `‘RE_MULTIPLE_LINES’`, `‘RE_NEWLINE_WILDCARD’`, and `‘RE_IGNORE_WHITESPACE’`.
!!!Note
- For more information on `constants`, `function_parameters`, or `regexp` (regular expressions) see, Using `DBMS_REDACT Constants and Function Parameters`.
+ For more information on `constants`, `function_parameters`, or `regexp`, see [Using DBMS_REDACT Constants and Function Parameters](#using-dbms_redact-constants-and-function-parameters).
`custom_function_expression`
- The `custom_function_expression` is applicable only for the `CUSTOM` redaction type. The `custom_function_expression` is a function expression that is, schema-qualified function with a parameter such as `schema_name.function_name (argument1, …)` that allows a user to use their redaction logic to redact the column data.
+ The `custom_function_expression` applies only for the `CUSTOM` redaction type. The `custom_function_expression` is a function expression, that is, a schema-qualified function with a parameter such as `schema_name.function_name (argument1, …)` that allows a user to use their redaction logic to redact the column data.
### Example
-The following example illustrates how to create a policy and use full redaction for values in the `payment_details_tab` table `customer id` column.
+This example shows how to create a policy and use full redaction for values in the `payment_details_tab` table `customer id` column.
```text
edb=# CREATE TABLE payment_details_tab (
@@ -326,7 +326,7 @@ PROCEDURE alter_policy (
`object_schema`
- Specifies the name of the schema in which the object resides and on which to alter the data redaction policy. If you specify `NULL` then the given object is searched by the order specified by `search_path` setting.
+ Specifies the name of the schema in which the object resides and on which to alter the data redaction policy. If you specify `NULL`, then the given object is searched by the order specified by `search_path` setting.
`object_name`
@@ -334,11 +334,11 @@ PROCEDURE alter_policy (
`policy_name`
- Name of the policy to be altered.
+ Name of the policy to alter.
`action`
- The action to perform. For more information about action parameters see, `DBMS_REDACT Constants and Function Parameters`.
+ The action to perform. For more information about action parameters see, [Using DBMS_REDACT Constants and Function Parameters](#using-dbms_redact-constants-and-function-parameters)
`column_name`
@@ -346,7 +346,7 @@ PROCEDURE alter_policy (
`function_type`
- The type of redaction function to be used. The possible values are `NONE, FULL, PARTIAL, RANDOM, REGEXP`, and `CUSTOM`.
+ The type of redaction function to use. The possible values are `NONE`, `FULL`, `PARTIAL`, `RANDOM`, `REGEXP`, and `CUSTOM`.
`function_parameters`
@@ -354,11 +354,11 @@ PROCEDURE alter_policy (
`expression`
- Specifies the Boolean expression for the table and determines how the policy is to be applied. The redaction occurs if this policy expression is evaluated to `TRUE`.
+ Specifies the Boolean expression for the table and determines how to apply the policy. The redaction occurs if this policy expression evaluates to `TRUE`.
`regexp_pattern`
- Enables the use of regular expressions to redact data. If the `regexp_pattern` does not match the data, then the `NULL` value is returned.
+ Enables the use of regular expressions to redact data. If the `regexp_pattern` doesn't match the data, then the `NULL` value is returned.
`regexp_replace_string`
@@ -374,10 +374,10 @@ PROCEDURE alter_policy (
`regexp_match_parameter`
- Changes the default matching behavior of a function. The possible regexp_match_parameter constants can be `‘RE_CASE_SENSITIVE’, ‘RE_CASE_INSENSITIVE’, ‘RE_MULTIPLE_LINES’, ‘RE_NEWLINE_WILDCARD’, ‘RE_IGNORE_WHITESPACE’`.
+ Changes the default matching behavior of a function. The possible `regexp_match_parameter` constants can be `‘RE_CASE_SENSITIVE’`, `‘RE_CASE_INSENSITIVE’`, `‘RE_MULTIPLE_LINES’`, `‘RE_NEWLINE_WILDCARD’`, and `‘RE_IGNORE_WHITESPACE’`.
!!!Note
- For more information on `constants, function_parameters`, or `regexp` (regular expressions) see, `Using DBMS_REDACT Constants and Function Parameters`.
+ For more information on `constants`, `function_parameters`, or `regexp`, see [Using DBMS_REDACT Constants and Function Parameters](#using-dbms_redact-constants-and-function-parameters).
`policy_description`
@@ -385,15 +385,15 @@ PROCEDURE alter_policy (
`column_description`
- Description of the column to be redacted. The `column_description` is not supported, but if you specify the description for a column then, a warning message appears.
+ Description of the column to redact. The `column_description` isn't supported, but if you specify the description for a column, a warning message appears.
`custom_function_expression`
- The `custom_function_expression` is applicable only for the `CUSTOM` redaction type. The `custom_function_expression` is a function expression that is, schema-qualified function with a parameter such as `schema_name.function_name (argument1, …)` that allows a user to use their redaction logic to redact the column data.
+ The `custom_function_expression` applies only for the `CUSTOM` redaction type. The `custom_function_expression` is a function expression, that is, a schema-qualified function with a parameter such as `schema_name.function_name (argument1, …)` that allows a user to use their redaction logic to redact the column data.
### Example
-The following example illustrates to alter a policy using partial redaction for values in the `payment_details_tab` table `card_string` (usually a credit card number) column.
+This example shows how to alter a policy using partial redaction for values in the `payment_details_tab` table `card_string` (usually a credit card number) column.
```text
\c edb base _user
@@ -439,7 +439,7 @@ PROCEDURE disable_policy (
`object_schema`
- Specifies the name of the schema in which the object resides and on which to apply the data redaction policy. If you specify `NULL` then the given object is searched by the order specified by `search_path` setting.
+ Specifies the name of the schema in which the object resides and on which to apply the data redaction policy. If you specify `NULL`, then the given object is searched by the order specified by `search_path` setting.
`object_name`
@@ -447,11 +447,11 @@ PROCEDURE disable_policy (
`policy_name`
- Name of the policy to be disabled.
+ Name of the policy to disable.
### Example
-The following example illustrates how to disable a policy.
+This example shows how to disable a policy.
```text
\c edb base_user
@@ -482,7 +482,7 @@ PROCEDURE enable_policy (
`object_schema`
- Specifies the name of the schema in which the object resides and on which to apply the data redaction policy. If you specify `NULL` then the given object is searched by the order specified by `search_path` setting.
+ Specifies the name of the schema in which the object resides and on which to apply the data redaction policy. If you specify `NULL`, then the given object is searched by the order specified by `search_path` setting.
`object_name`
@@ -490,11 +490,11 @@ PROCEDURE enable_policy (
`policy_name`
- Name of the policy to be enabled.
+ Name of the policy to enable.
### Example
-The following example illustrates how to enable a policy.
+This example shows how to enable a policy.
```text
\c edb base_user
@@ -525,7 +525,7 @@ PROCEDURE drop_policy (
`object_schema`
- Specifies the name of the schema in which the object resides and on which to apply the data redaction policy. If you specify `NULL` then the given object is searched by the order specified by `search_path` setting.
+ Specifies the name of the schema in which the object resides and on which to apply the data redaction policy. If you specify `NULL`, then the given object is searched by the order specified by `search_path` setting.
`object_name`
@@ -533,11 +533,11 @@ PROCEDURE drop_policy (
`policy_name`
- Name of the policy to be dropped.
+ Name of the policy to drop.
### Example
-The following example illustrates how to drop a policy.
+This example shows how to drop a policy.
```text
\c edb base_user
@@ -554,7 +554,7 @@ Redacted Result: The server drops the specified policy.
## UPDATE_FULL_REDACTION_VALUES
-The `update_full_redaction_values` procedure updates the default displayed values for a data redaction policy and these default values can be viewed using the `redaction_values_for_type_full` view that use the full redaction type.
+The `update_full_redaction_values` procedure updates the default displayed values for a data redaction policy. You can view these default values using the `redaction_values_for_type_full` view that uses the full redaction type.
```TEXT
PROCEDURE update_full_redaction_values (
@@ -582,11 +582,11 @@ PROCEDURE update_full_redaction_values (
`binfloat_val`
- The `FLOAT4` datatype is a random value. The binary float datatype is not supported.
+ The `FLOAT4` datatype is a random value. The binary float datatype isn't supported.
`bindouble_val`
- The `FLOAT8` datatype is a random value. The binary double datatype is not supported.
+ The `FLOAT8` datatype is a random value. The binary double datatype isn;t supported.
`char_val`
@@ -630,9 +630,7 @@ PROCEDURE update_full_redaction_values (
### Example
-The following example illustrates how to update the full redaction values but before updating the values, you can:
-
-View the default values using `redaction_values_for_type_full` view as shown below:
+This example shows how to update the full redaction values. Before updating the values, you can view the default values using the `redaction_values_for_type_full` view.
```text
edb=# \x
@@ -653,7 +651,7 @@ clob_value | [redacted]
(1 row)
```
-Now, update the default values for full redaction type. The `NULL` values are ignored.
+Update the default values for full redaction type. The `NULL` values are ignored.
```text
\c edb base_user
@@ -671,7 +669,7 @@ edb=# BEGIN
END;
```
-You can now see the updated values using `redaction_values_for_type_full` view.
+You can now see the updated values using the `redaction_values_for_type_full` view.
```text
EDB-SPL Procedure successfully completed
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/14_dbms_rls.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/14_dbms_rls.mdx
index b560d7c27e1..9be05914a1d 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/14_dbms_rls.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/14_dbms_rls.mdx
@@ -7,50 +7,51 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.158.html"
---
-The `DBMS_RLS` package enables the implementation of Virtual Private Database on certain EDB Postgres Advanced Server database objects.
+The `DBMS_RLS` package enables you to implement Virtual Private Database on certain EDB Postgres Advanced Server database objects.
-| Function/procedure | Function or Procedure | Return Type | Description |
+EDB Postgres Advanced Server's implementation of `DBMS_RLS` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table are supported.
+
+| Function/procedure | Function or procedure | Return type | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------ |
| `ADD_POLICY(object_schema, object_name, policy_name, function_schema, policy_function [, statement_types [, update_check [, enable [, static_policy [, policy_type [, long_predicate [, sec_relevant_cols [, sec_relevant_cols_opt ]]]]]]]])` | Procedure | n/a | Add a security policy to a database object. |
| `DROP_POLICY(object_schema, object_name, policy_name)` | Procedure | n/a | Remove a security policy from a database object. |
| `ENABLE_POLICY(object_schema, object_name, policy_name, enable)` | Procedure | n/a | Enable or disable a security policy. |
-EDB Postgres Advanced Server's implementation of `DBMS_RLS` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table above are supported.
-
-*Virtual Private Database* is a type of fine-grained access control using security policies. *Fine-grained access control* in Virtual Private Database means that access to data can be controlled down to specific rows as defined by the security policy.
+*Virtual Private Database* is a type of fine-grained access control using security policies. *Fine-grained access control* in Virtual Private Database means that you can control access to data down to specific rows as defined by the security policy.
-The rules that encode a security policy are defined in a *policy function*, which is an SPL function with certain input parameters and return value. The *security policy* is the named association of the policy function to a particular database object, typically a table.
+The rules that encode a security policy are defined in a *policy function*, which is an SPL function with certain input parameters and return values. The *security policy* is the named association of the policy function to a particular database object, typically a table.
!!! Note
- In EDB Postgres Advanced Server, the policy function can be written in any language supported by EDB Postgres Advanced Server such as SQL, PL/pgSQL and SPL.
+ In EDB Postgres Advanced Server, you can write the policy function in any language supported by EDB Postgres Advanced Server, such as SQL, PL/pgSQL, and SPL.
!!! Note
- The database objects currently supported by EDB Postgres Advanced Server Virtual Private Database are tables. Policies cannot be applied to views or synonyms.
+ The database objects currently supported by EDB Postgres Advanced Server Virtual Private Database are tables. You can't apply policies to views or synonyms.
-The advantages of using Virtual Private Database are the following:
+Virtual Private Database has these advantages:
-- Provides a fine-grained level of security. Database object level privileges given by the `GRANT` command determine access privileges to the entire instance of a database object, while Virtual Private Database provides access control for the individual rows of a database object instance.
-- A different security policy can be applied depending upon the type of SQL command (`INSERT, UPDATE, DELETE`, or `SELECT`).
-- The security policy can vary dynamically for each applicable SQL command affecting the database object depending upon factors such as the session user of the application accessing the database object.
-- Invocation of the security policy is transparent to all applications that access the database object and thus, individual applications don't have to be modified to apply the security policy.
-- Once a security policy is enabled, it is not possible for any application (including new applications) to circumvent the security policy except by the system privilege noted by the following.
-- Even superusers cannot circumvent the security policy except by the system privilege noted by the following.
+- It provides a fine-grained level of security. Database object-level privileges given by the `GRANT` command determine access privileges to the entire instance of a database object, while Virtual Private Database provides access control for the individual rows of a database object instance.
+- You can apply a different security policy depending on the type of SQL command (`INSERT`, `UPDATE`, `DELETE`, or `SELECT`).
+- The security policy can vary dynamically for each applicable SQL command affecting the database object, depending on factors such as the session user of the application accessing the database object.
+- Invoking the security policy is transparent to all applications that access the database object. Thus, you don't have to modify individual applications to apply the security policy.
+- Once a security policy is enabled, applications (including new applications) can't circumvent the security policy except by the system privilege described in the note that follows.
+- Even superusers can't circumvent the security policy except by the system privilege described in the note that follows.
!!! Note
- The only way security policies can be circumvented is if the `EXEMPT ACCESS POLICY` system privilege has been granted to a user. The `EXEMPT ACCESS POLICY` privilege should be granted with extreme care as a user with this privilege is exempted from all policies in the database.
+ The only way to circumvent security policies is if the `EXEMPT ACCESS POLICY` system privilege is granted to a user. Grant the `EXEMPT ACCESS POLICY` privilege with extreme care as a user with this privilege is exempted from all policies in the database.
The `DBMS_RLS` package provides procedures to create policies, remove policies, enable policies, and disable policies.
The process for implementing Virtual Private Database is as follows:
-- Create a policy function. The function must have two input parameters of type `VARCHAR2`. The first input parameter is for the schema containing the database object to which the policy is to apply and the second input parameter is for the name of that database object. The function must have a `VARCHAR2` return type. The function must return a string in the form of a `WHERE` clause predicate. This predicate is dynamically appended as an `AND` condition to the SQL command that acts upon the database object. Thus, rows that don't satisfy the policy function predicate are filtered out from the SQL command result set.
-- Use the `ADD_POLICY` procedure to define a new policy, which is the association of a policy function with a database object. With the `ADD_POLICY` procedure, you can also specify the types of SQL commands (`INSERT, UPDATE, DELETE`, or `SELECT`) to which the policy is to apply, whether or not to enable the policy at the time of its creation, and if the policy should apply to newly inserted rows or the modified image of updated rows.
-- Use the `ENABLE_POLICY` procedure to disable or enable an existing policy.
-- Use the `DROP_POLICY` procedure to remove an existing policy. The `DROP_POLICY` procedure does not drop the policy function or the associated database object.
+1. Create a policy function. The function must have two input parameters of type `VARCHAR2`. The first input parameter is for the schema containing the database object to which the policy applies. The second input parameter is for the name of that database object. The function must have a `VARCHAR2` return type and return a string in the form of a `WHERE` clause predicate. This predicate is dynamically appended as an `AND` condition to the SQL command that acts on the database object. Thus, rows that don't satisfy the policy function predicate are filtered out from the SQL command result set.
+1. Use the `ADD_POLICY` procedure to define a new policy, which is the association of a policy function with a database object. With the `ADD_POLICY` procedure, you can also specify:
+ - The types of SQL commands (`INSERT`, `UPDATE`, `DELETE`, or `SELECT`) to which the policy applies
+ - Whether to enable the policy at the time of its creation
+ - Whether the policy applies to newly inserted rows or the modified image of updated rows
+1. Use the `ENABLE_POLICY` procedure to disable or enable an existing policy.
+1. Use the `DROP_POLICY` procedure to remove an existing policy. The `DROP_POLICY` procedure doesn't drop the policy function or the associated database object.
-Once policies are created, they can be viewed in the catalog views, compatible with Oracle databases: `ALL_POLICIES, DBA_POLICIES`, or `USER_POLICIES`. The supported compatible views are listed in the *Database Compatibility for Oracle Developers Catalog Views Guide*, available at the EDB website at:
-
-[https://www.enterprisedb.com/docs/](/epas/latest/epas_compat_cat_views/)
+Once you create policies, you can view them in the catalog views compatible with Oracle databases: `ALL_POLICIES`, `DBA_POLICIES`, or `USER_POLICIES`. The supported compatible views are listed in [Database Compatibility for Oracle Developers Catalog Views](/epas/latest/epas_compat_cat_views/).
The `SYS_CONTEXT` function is often used with `DBMS_RLS`. The signature is:
@@ -60,11 +61,11 @@ SYS_CONTEXT(, )
Where:
- `namespace` is a `VARCHAR2`; the only accepted value is `USERENV`. Any other value returns `NULL`.
+ `namespace` is a `VARCHAR2`. The only accepted value is `USERENV`. Any other value returns `NULL`.
- `attribute` is a `VARCHAR2`. `attribute` may be:
+ `attribute` is a `VARCHAR2`. Possible values are:
-| attribute Value | Equivalent Value |
+| attribute Value | Equivalent value |
| ---------------- | ----------------------------- |
| `SESSION_USER` | `pg_catalog.session_user` |
| `CURRENT_USER` | `pg_catalog.current_user` |
@@ -73,8 +74,8 @@ Where:
| `IP_ADDRESS` | `pg_catalog.inet_client_addr` |
| `SERVER_HOST` | `pg_catalog.inet_server_addr` |
-!!! Note
- The examples used to illustrate the `DBMS_RLS` package are based on a modified copy of the sample `emp` table provided with EDB Postgres Advanced Server along with a role named `salesmgr` that is granted all privileges on the table. You can create the modified copy of the `emp` table named `vpemp` and the `salesmgr` role as shown by the following:
+
+The examples used to illustrate the `DBMS_RLS` package are based on a modified copy of the sample `emp` table provided with EDB Postgres Advanced Server along with a role named `salesmgr` that is granted all privileges on the table. You can create the modified copy of the `emp` table named `vpemp` and the `salesmgr` role as follows:
```text
CREATE TABLE public.vpemp AS SELECT empno, ename, job, sal, comm, deptno
@@ -130,91 +131,88 @@ ADD_POLICY( VARCHAR2, VARCHAR2,
`object_schema`
- Name of the schema containing the database object to which the policy is to be applied.
+ Name of the schema containing the database object to which to apply the policy.
`object_name`
- Name of the database object to which the policy is to be applied. A given database object may have more than one policy applied to it.
+ Name of the database object to which to apply the policy. A given database object can have more than one policy applied to it.
`policy_name`
- Name assigned to the policy. The combination of database object (identified by `object_schema` and `object_name`) and policy name must be unique within the database.
+ Name assigned to the policy. The combination of database object (identified by `object_schema` and `object_name`) and policy name must be unique in the database.
`function_schema`
Name of the schema containing the policy function.
!!! Note
- The policy function may belong to a package in which case `function_schema` must contain the name of the schema in which the package is defined.
+ The policy function might belong to a package. In this case `function_schema` must contain the name of the schema in which the package is defined.
`policy_function`
- Name of the SPL function that defines the rules of the security policy. The same function may be specified in more than one policy.
+ Name of the SPL function that defines the rules of the security policy. You can specify the same function in more than one policy.
!!! Note
- The policy function may belong to a package in which case `policy_function` must also contain the package name in dot notation (that is, `package_name.function_name`).
+ The policy function might belong to a package. In this case `policy_function` must also contain the package name in dot notation (that is, `package_name.function_name`).
`statement_types`
- Comma-separated list of SQL commands to which the policy applies. Valid SQL commands are `INSERT, UPDATE, DELETE`, and `SELECT`. The default is `INSERT,UPDATE,DELETE,SELECT`.
+ Comma-separated list of SQL commands to which the policy applies. Valid SQL commands are `INSERT`, `UPDATE`, `DELETE`, and `SELECT`. The default is `INSERT,UPDATE,DELETE,SELECT`.
!!! Note
- EDB Postgres Advanced Server accepts `INDEX` as a statement type, but it is ignored. Policies are not applied to index operations in EDB Postgres Advanced Server.
+ EDB Postgres Advanced Server accepts `INDEX` as a statement type but it is ignored. Policies aren't applied to index operations in EDB Postgres Advanced Server.
`update_check`
Applies to `INSERT` and `UPDATE` SQL commands only.
- When set to `TRUE`, the policy is applied to newly inserted rows and to the modified image of updated rows. If any of the new or modified rows don't qualify according to the policy function predicate, then the `INSERT` or `UPDATE` command throws an exception and no rows are inserted or modified by the `INSERT` or `UPDATE` command.
-
-- When set to `FALSE`, the policy is not applied to newly inserted rows or the modified image of updated rows. Thus, a newly inserted row may not appear in the result set of a subsequent SQL command that invokes the same policy. Similarly, rows which qualified according to the policy prior to an `UPDATE` command may not appear in the result set of a subsequent SQL command that invokes the same policy.
-
+- When set to `FALSE`, the policy isn't applied to newly inserted rows or the modified image of updated rows. Thus, a newly inserted row might not appear in the result set of a subsequent SQL command that invokes the same policy. Similarly, rows that qualified according to the policy prior to an `UPDATE` command might not appear in the result set of a subsequent SQL command that invokes the same policy.
- The default is `FALSE`.
`enable`
- When set to `TRUE`, the policy is enabled and applied to the SQL commands given by the `statement_types` parameter. When set to `FALSE` the policy is disabled and not applied to any SQL commands. The policy can be enabled using the `ENABLE_POLICY` procedure. The default is `TRUE`.
+ When set to `TRUE`, the policy is enabled and applied to the SQL commands given by the `statement_types` parameter. When set to `FALSE` the policy is disabled and not applied to any SQL commands. You can enable the policy using the `ENABLE_POLICY` procedure. The default is `TRUE`.
`static_policy`
- In Oracle, when set to `TRUE`, the policy is *static*, which means the policy function is evaluated once per database object the first time it is invoked by a policy on that database object. The resulting policy function predicate string is saved in memory and reused for all invocations of that policy on that database object while the database server instance is running.
-
-- When set to `FALSE`, the policy is *dynamic*, which means the policy function is re-evaluated and the policy function predicate string regenerated for all invocations of the policy.
+ In Oracle, when set to `TRUE`, the policy is *static*, which means the policy function is evaluated once per database object the first time it's invoked by a policy on that database object. The resulting policy function predicate string is saved in memory and reused for all invocations of that policy on that database object while the database server instance is running.
+- When set to `FALSE`, the policy is *dynamic*, which means the policy function is reevaluated and the policy function predicate string regenerated for all invocations of the policy.
- The default is `FALSE`.
!!! Note
- In Oracle 10g, the `policy_type` parameter was introduced, which is intended to replace the `static_policy` parameter. In Oracle, if the `policy_type` parameter is not set to its default value of `NULL`, the `policy_type` parameter setting overrides the `static_policy` setting.
+ In Oracle 10g, the `policy_type` parameter was introduced, which is intended to replace the `static_policy` parameter. In Oracle, if the `policy_type` parameter isn't set to its default value of `NULL`, the `policy_type` parameter setting overrides the `static_policy` setting.
!!! Note
The setting of `static_policy` is ignored by EDB Postgres Advanced Server. EDB Postgres Advanced Server implements only the dynamic policy, regardless of the setting of the `static_policy` parameter.
`policy_type`
- In Oracle, determines when the policy function is re-evaluated, and hence, if and when the predicate string returned by the policy function changes. The default is `NULL`.
+ In Oracle, determines when the policy function is reevaluated and, hence, if and when the predicate string returned by the policy function changes. The default is `NULL`.
!!! Note
- The setting of this parameter is ignored by EDB Postgres Advanced Server. EDB Postgres Advanced Server always assumes a dynamic policy.
+ This parameter setting is ignored by EDB Postgres Advanced Server. EDB Postgres Advanced Server always assumes a dynamic policy.
`long_predicate`
- In Oracle, allows predicates up to 32K bytes if set to `TRUE`, otherwise predicates are limited to 4000 bytes. The default is `FALSE`.
+ In Oracle, allows predicates up to 32K bytes if set to `TRUE`. Otherwise predicates are limited to 4000 bytes. The default is `FALSE`.
!!! Note
- The setting of this parameter is ignored by EDB Postgres Advanced Server. An EDB Postgres Advanced Server policy function can return a predicate of unlimited length for all practical purposes.
+ This parameter setting is ignored by EDB Postgres Advanced Server. An EDB Postgres Advanced Server policy function can return a predicate of unlimited length for all practical purposes.
`sec_relevant_cols`
- Comma-separated list of columns of `object_name`. Provides *column-level Virtual Private Database* for the listed columns. The policy is enforced if any of the listed columns are referenced in a SQL command of a type listed in `statement_types`. The policy is not enforced if no such columns are referenced.
+ Comma-separated list of columns of `object_name`. Provides *column-level Virtual Private Database* for the listed columns. The policy is enforced if any of the listed columns are referenced in a SQL command of a type listed in `statement_types`. The policy isn't enforced if no such columns are referenced.
The default is `NULL`, which has the same effect as if all of the database object’s columns were included in `sec_relevant_cols`.
`sec_relevant_cols_opt`
- In Oracle, if `sec_relevant_cols_opt` is set to `DBMS_RLS.ALL_ROWS (INTEGER` constant of value 1), then the columns listed in `sec_relevant_cols` return `NULL` on all rows where the applied policy predicate is false. (If `sec_relevant_cols_opt` is not set to `DBMS_RLS.ALL_ROWS`, these rows would not be returned at all in the result set.) The default is `NULL`.
+ In Oracle, if `sec_relevant_cols_opt` is set to `DBMS_RLS.ALL_ROWS` (`INTEGER` constant of value 1), then the columns listed in `sec_relevant_cols` return `NULL` on all rows where the applied policy predicate is false. (If `sec_relevant_cols_opt` isn't set to `DBMS_RLS.ALL_ROWS`, these rows aren't returned at all in the result set.) The default is `NULL`.
!!! Note
- EDB Postgres Advanced Server does not support the `DBMS_RLS.ALL_ROWS` functionality. EDB Postgres Advanced Server throws an error if `sec_relevant_cols_opt` is set to `DBMS_RLS.ALL_ROWS (INTEGER` value of 1).
+ EDB Postgres Advanced Server doesn't support `DBMS_RLS.ALL_ROWS`. EDB Postgres Advanced Server throws an error if `sec_relevant_cols_opt` is set to `DBMS_RLS.ALL_ROWS` (`INTEGER` value of 1).
### Examples
@@ -237,9 +235,9 @@ This function generates the predicate `authid = SYS_CONTEXT('USERENV', 'SESSION_
This limits the effect of the SQL command to those rows where the content of the `authid` column is the same as the session user.
!!! Note
- This example uses the `SYS_CONTEXT` function to return the login user name. In Oracle the `SYS_CONTEXT` function is used to return attributes of an *application context*. The first parameter of the `SYS_CONTEXT` function is the name of an application context while the second parameter is the name of an attribute set within the application context. `USERENV` is a special built-in namespace that describes the current session. EDB Postgres Advanced Server does not support application contexts, but only this specific usage of the `SYS_CONTEXT` function.
+ This example uses the `SYS_CONTEXT` function to return the login user name. In Oracle the `SYS_CONTEXT` function is used to return attributes of an *application context*. The first parameter of the `SYS_CONTEXT` function is the name of an application context. The second parameter is the name of an attribute set in the application context. `USERENV` is a special built-in namespace that describes the current session. EDB Postgres Advanced Server doesn't support application contexts. It supports only this specific usage of the `SYS_CONTEXT` function.
-The following anonymous block calls the `ADD_POLICY` procedure to create a policy named `secure_update` to be applied to the `vpemp` table using function `verify_session_user` whenever an `INSERT, UPDATE`, or `DELETE` SQL command is given referencing the `vpemp` table.
+The following anonymous block calls the `ADD_POLICY` procedure to create a policy named `secure_update`. The policy applies to the `vpemp` table using the function `verify_session_user` whenever an `INSERT`, `UPDATE`, or `DELETE` SQL command is given referencing the `vpemp` table.
```text
DECLARE
@@ -265,7 +263,7 @@ BEGIN
END;
```
-After successful creation of the policy, a terminal session is started by user `salesmgr`. The following query shows the content of the `vpemp` table:
+After successfully creating the policy, a terminal session is started by user `salesmgr`. The following query shows the content of the `vpemp` table:
```text
edb=# \c edb salesmgr
@@ -300,7 +298,7 @@ UPDATE 6
Instead of updating all rows in the table, the policy restricts the effect of the update to only those rows where the `authid` column contains the value `salesmgr` as specified by the policy function predicate `authid = SYS_CONTEXT('USERENV', 'SESSION_USER')`.
-The following query shows that the `comm` column has been changed only for those rows where `authid` contains `salesmgr`. All other rows are unchanged.
+The following query shows that the `comm` column was changed only for those rows where `authid` contains `salesmgr`. All other rows are unchanged.
```text
edb=> SELECT * FROM vpemp;
@@ -323,7 +321,7 @@ edb=> SELECT * FROM vpemp;
(14 rows)
```
-Furthermore, since the `update_check` parameter was set to `TRUE` in the `ADD_POLICY` procedure, the following `INSERT` command throws an exception since the value given for the `authid` column, `researchmgr`, does not match the session user, which is `salesmgr`, and hence, fails the policy.
+Furthermore, since the `update_check` parameter was set to `TRUE` in the `ADD_POLICY` procedure, the following `INSERT` command throws an exception. The value given for the `authid` column, `researchmgr`, doesn't match the session user (`salesmgr`) and hence fails the policy.
```text
edb=> INSERT INTO vpemp VALUES (9001,'SMITH','ANALYST',3200.00,NULL,20,
@@ -332,9 +330,9 @@ ERROR: policy with check option violation
DETAIL: Policy predicate was evaluated to FALSE with the updated values
```
-If `update_check` was set to `FALSE`, the preceding `INSERT` command would have succeeded.
+If `update_check` is set to `FALSE`, the preceding `INSERT` command succeeds.
-The following example illustrates the use of the `sec_relevant_cols` parameter to apply a policy only when certain columns are referenced in the SQL command. The following policy function is used for this example, which selects rows where the employee salary is less than `2000`.
+This example uses the `sec_relevant_cols` parameter to apply a policy only when certain columns are referenced in the SQL command. The following policy function is used for this example, which selects rows where the employee salary is less than `2000`.
```text
CREATE OR REPLACE FUNCTION sal_lt_2000 (
@@ -348,7 +346,7 @@ BEGIN
END
```
-The policy is created so that it is enforced only if a `SELECT` command includes columns `sal` or `comm`:
+The policy is created so that it's enforced only if a `SELECT` command includes columns `sal` or `comm`:
```text
DECLARE
@@ -372,7 +370,7 @@ BEGIN
END;
```
-If a query does not reference columns `sal` or `comm`, then the policy is not applied. The following query returns all 14 rows of table `vpemp`:
+If a query doesn't reference columns `sal` or `comm`, then the policy isn't applied. The following query returns all 14 rows of table `vpemp`:
```text
edb=# SELECT empno, ename, job, deptno, authid FROM vpemp;
@@ -395,7 +393,7 @@ edb=# SELECT empno, ename, job, deptno, authid FROM vpemp;
(14 rows)
```
-If the query references the `sal` or `comm` columns, then the policy is applied to the query eliminating any rows where `sal` is greater than or equal to `2000` as shown by the following:
+If the query references the `sal` or `comm` columns, then the policy is applied to the query, eliminating any rows where `sal` is greater than or equal to `2000`:
```text
edb=# SELECT empno, ename, job, sal, comm, deptno, authid FROM vpemp;
@@ -414,7 +412,7 @@ edb=# SELECT empno, ename, job, sal, comm, deptno, authid FROM vpemp;
## DROP_POLICY
-The `DROP_POLICY` procedure deletes an existing policy. The policy function and database object associated with the policy are not deleted by the `DROP_POLICY` procedure.
+The `DROP_POLICY` procedure deletes an existing policy. The `DROP_POLICY` procedure doesn't delete the policy function and database object associated with the policy.
You must be a superuser to execute this procedure.
@@ -435,11 +433,11 @@ DROP_POLICY( VARCHAR2, VARCHAR2,
`policy_name`
- Name of the policy to be deleted.
+ Name of the policy to delete.
### Examples
-The following example deletes policy `secure_update` on table `public.vpemp`:
+This example deletes policy `secure_update` on table `public.vpemp`:
```text
DECLARE
@@ -478,7 +476,7 @@ ENABLE_POLICY( VARCHAR2, VARCHAR2,
`policy_name`
- Name of the policy to be enabled or disabled.
+ Name of the policy to enable or disable.
`enable`
@@ -486,7 +484,7 @@ ENABLE_POLICY( VARCHAR2, VARCHAR2,
### Examples
-The following example disables policy `secure_update` on table `public.vpemp`:
+This example disables policy `secure_update` on table `public.vpemp`:
```text
DECLARE
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/01_using_calendar_syntax_to_specify_a_repeating_interval.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/01_using_calendar_syntax_to_specify_a_repeating_interval.mdx
index 35e54507a61..9340a6fc75b 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/01_using_calendar_syntax_to_specify_a_repeating_interval.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/01_using_calendar_syntax_to_specify_a_repeating_interval.mdx
@@ -2,23 +2,21 @@
title: "Using calendar syntax to specify a repeating interval"
---
-The `CREATE_JOB` and `CREATE_SCHEDULE` procedures use Oracle-styled calendar syntax to define the interval with which a job or schedule is repeated. You should provide the scheduling information in the `repeat_interval` parameter of each procedure.
+The `CREATE_JOB` and `CREATE_SCHEDULE` procedures use Oracle-style calendar syntax to define the interval with which a job or schedule is repeated. Provide the scheduling information in the `repeat_interval` parameter of each procedure.
-`repeat_interval` is a value (or series of values) that define the interval between the executions of the scheduled job. Each value is composed of a token, followed by an equal sign, followed by the unit (or units) on which the schedule executes. Multiple token values must be separated by a semi-colon (;).
+`repeat_interval` is a value or series of values that define the interval between the executions of the scheduled job. Each value is composed of a token, an equals sign, and the units on which the schedule executes. Separate multiple token values with a semi-colon (;).
-For example, the following value:
+For example, the following value defines a schedule that's executed each weeknight at 5:45:
`FREQ=DAILY;BYDAY=MON,TUE,WED,THU,FRI;BYHOUR=17;BYMINUTE=45`
-Defines a schedule that is executed each weeknight at 5:45.
-
-The token types and syntax described in the table below are supported by EDB Postgres Advanced Server:
+EDB Postgres Advanced Server supports the token types and syntax described in the table.
| Token type | Syntax | Valid values |
| ------------ | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `FREQ` | `FREQ=predefined_interval` | Where `predefined_interval` is one of the following: `YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY`. The `SECONDLY` keyword is not supported. |
-| `BYMONTH` | `BYMONTH=month(, month)...` | Where `month` is the three-letter abbreviation of the month name: `JAN \| FEB \| MAR \| APR \| MAY \| JUN \| JUL \| AUG \| SEP \| OCT \| NOV \| DEC` |
-| `BYMONTH` | `BYMONTH=month (, month)...` | Where `month` is the numeric value representing the month: `1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 11 \| 12` |
+| `FREQ` | `FREQ=predefined_interval` | Where `predefined_interval` is one of the following: `YEARLY`, `MONTHLY`, `WEEKLY`, `DAILY`, `HOURLY`, `MINUTELY`. The `SECONDLY` keyword isn't supported. |
+| `BYMONTH` | `BYMONTH=month(, month)...` | Where `month` is the three-letter abbreviation of the month name: `JAN`, `FEB`, `MAR`, `APR`, `MAY`, `JUN`, `JUL`, `AUG`, `SEP`, `OCT`, `NOV`, `DEC` |
+| `BYMONTH` | `BYMONTH=month (, month)...` | Where `month` is the numeric value representing the month: `1` \| `2` \| `3` \| `4` \| `5` \| `6` \| `7` \| `8` \| `9` \| `10` \| `11` \| `12` |
| `BYMONTHDAY` | `BYMONTHDAY=day_of_month` | Where `day_of_month` is a value from `1` through `31` |
| `BYDAY` | `BYDAY=weekday` | Where `weekday` is a three-letter abbreviation or single-digit value representing the day of the week. |
| | | `Monday` \| `MON` \| `1` \| |
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/02_create_job.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/02_create_job.mdx
index 8f9393db731..44b0008817d 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/02_create_job.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/02_create_job.mdx
@@ -2,7 +2,7 @@
title: "CREATE_JOB"
---
-Use the `CREATE_JOB` procedure to create a job. The procedure comes in two forms; the first form of the procedure specifies a schedule within the job definition, as well as a job action to invoke when the job executes:
+Use the `CREATE_JOB` procedure to create a job. The procedure comes in two forms. The first form of the procedure specifies a schedule in the job definition as well as a job action to invoke when the job executes:
```text
CREATE_JOB(
@@ -19,7 +19,7 @@ CREATE_JOB(
IN VARCHAR2 DEFAULT NULL)
```
-The second form uses a job schedule to specify the schedule on which the job executes, and specifies the name of a program to execute when the job runs:
+The second form uses a job schedule to specify the schedule on which the job executes and specifies the name of a program to execute when the job runs:
```text
CREATE_JOB(
@@ -50,21 +50,21 @@ CREATE_JOB(
`number_of_arguments`
- `number_of_arguments` is an `INTEGER` value that specifies the number of arguments expected by the job. The default is `0`.
+ `number_of_arguments` is an integer value that specifies the number of arguments expected by the job. The default is `0`.
`start_date`
- `start_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies the first time that the job is scheduled to execute. The default value is `NULL`, indicating that the job should be scheduled to execute when the job is enabled.
+ `start_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies the first time that the job is scheduled to execute. The default value is `NULL`, indicating to schedule the job to execute when the job is enabled.
`repeat_interval`
- `repeat_interval` is a `VARCHAR2` value that specifies how often the job repeats. If a `repeat_interval` isn't specified, the job executes only once. The default value is `NULL`.
+ `repeat_interval` is a `VARCHAR2` value that specifies how often the job repeats. If you don't specify a `repeat_interval`, the job executes only once. The default value is `NULL`.
`end_date`
- `end_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies a time after which the job no longer executes. If a date is specified, the `end_date` must be after `start_date`. The default value is `NULL`.
+ `end_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies a time after which the job no longer executes. If you specify a date, the `end_date` must be after `start_date`. The default value is `NULL`.
- If an `end_date` is not specified and a `repeat_interval` is specified, the job repeats indefinitely until it is disabled.
+ If you don't specify an `end_date` and you do specify a `repeat_interval`, the job repeats indefinitely until you disable it.
`program_name`
@@ -80,7 +80,7 @@ CREATE_JOB(
`enabled`
- `enabled` is a `BOOLEAN` value that specifies if the job is enabled when created. By default, a job is created in a disabled state, with `enabled` set to `FALSE`. To enable a job, specify a value of `TRUE` when creating the job, or enable the job with the `DBMS_SCHEDULER.ENABLE` procedure.
+ `enabled` is a Boolean value that specifies if the job is enabled when created. By default, a job is created in a disabled state, with `enabled` set to `FALSE`. To enable a job, specify a value of `TRUE` when creating the job, or enable the job with the `DBMS_SCHEDULER.ENABLE` procedure.
`auto_drop`
@@ -92,7 +92,7 @@ CREATE_JOB(
## Example
-The following example demonstrates a call to the `CREATE_JOB` procedure:
+This example shows a call to the `CREATE_JOB` procedure:
```text
EXEC
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/03_create_program.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/03_create_program.mdx
index 576467d04e2..44fefde00d5 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/03_create_program.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/03_create_program.mdx
@@ -18,7 +18,7 @@ CREATE_PROGRAM(
`program_name`
- `program_name` specifies the name of the program that is being created.
+ `program_name` specifies the name of the program that's being created.
`program_type`
@@ -41,13 +41,13 @@ CREATE_PROGRAM(
`enabled` specifies if the program is created enabled or disabled:
- If `enabled` is `TRUE`, the program is created enabled.
-- If `enabled` is `FALSE`, the program is created disabled; use the `DBMS_SCHEDULER.ENABLE` program to enable a disabled program.
+- If `enabled` is `FALSE`, the program is created disabled. Use the `DBMS_SCHEDULER.ENABLE` program to enable a disabled program.
The default value is `FALSE`.
`comments`
- Use the `comments` parameter to specify a comment about the program; by default, this parameter is `NULL`.
+ Use the `comments` parameter to specify a comment about the program. By default, this parameter is `NULL`.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/04_create_schedule.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/04_create_schedule.mdx
index 6f718a21414..55369b65d12 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/04_create_schedule.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/04_create_schedule.mdx
@@ -21,29 +21,29 @@ CREATE_SCHEDULE(
`start_date`
- `start_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies the date and time that the schedule is eligible to execute. If a `start_date` is not specified, the date that the job is enabled is used as the `start_date`. By default, `start_date` is `NULL`.
+ `start_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies the date and time that the schedule is eligible to execute. If you don't specify a `start_date`, the date that the job is enabled is used as the `start_date`. By default, `start_date` is `NULL`.
`repeat_interval`
- `repeat_interval` is a `VARCHAR2` value that specifies how often the job repeats. If a `repeat_interval` is not specified, the job executes only once, on the date specified by `start_date`.
+ `repeat_interval` is a `VARCHAR2` value that specifies how often the job repeats. If you don't specify a `repeat_interval`, the job executes only once, on the date specified by `start_date`.
!!! Note
- You must provide a value for either `start_date` or `repeat_interval`; if both `start_date` and `repeat_interval` are `NULL`, the server returns an error.
+ You must provide a value for either `start_date` or `repeat_interval`. If both `start_date` and `repeat_interval` are `NULL`, the server returns an error.
`end_date`
- `end_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies a time after which the schedule no longer executes. If a date is specified, the `end_date` must be after the `start_date`. The default value is `NULL`.
+ `end_date` is a `TIMESTAMP WITH TIME ZONE` value that specifies a time after which the schedule no longer executes. If you specify a date, the `end_date` must be after the `start_date`. The default value is `NULL`.
!!! Note
- If a `repeat_interval` is specified and an `end_date` is not specified, the schedule repeats indefinitely until disabled.
+ If you specify a `repeat_interval` and don't specify an `end_date`, the schedule repeats indefinitely until you disable it.
`comments`
- Use the `comments` parameter to specify a comment about the schedule; by default, this parameter is `NULL`.
+ Use the `comments` parameter to specify a comment about the schedule. By default, this parameter is `NULL`.
## Example
-The following code fragment calls `CREATE_SCHEDULE` to create a schedule named `weeknights_at_5`:
+This code fragment calls `CREATE_SCHEDULE` to create a schedule named `weeknights_at_5`:
```text
EXEC
@@ -54,4 +54,4 @@ EXEC
comments => 'This schedule executes each weeknight at 5:00');
```
-The schedule executes each weeknight, at 5:00 pm, effective after June 1, 2013. Since no `end_date` is specified, the schedule executes indefinitely until disabled with `DBMS_SCHEDULER.DISABLE`.
+The schedule executes each weeknight, at 5:00, effective after June 1, 2013. Since no `end_date` is specified, the schedule executes indefinitely until disabled with `DBMS_SCHEDULER.DISABLE`.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/05_define_program_argument.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/05_define_program_argument.mdx
index a2e315f2263..97f147f4a50 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/05_define_program_argument.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/05_define_program_argument.mdx
@@ -2,7 +2,7 @@
title: "DEFINE_PROGRAM_ARGUMENT"
---
-Use the `DEFINE_PROGRAM_ARGUMENT` procedure to define a program argument. The `DEFINE_PROGRAM_ARGUMENT` procedure comes in two forms; the first form defines an argument with a default value:
+Use the `DEFINE_PROGRAM_ARGUMENT` procedure to define a program argument. The `DEFINE_PROGRAM_ARGUMENT` procedure comes in two forms. The first form defines an argument with a default value:
```text
DEFINE_PROGRAM_ARGUMENT(
@@ -33,7 +33,7 @@ DEFINE_PROGRAM_ARGUMENT(
`argument_position`
- `argument_position` specifies the position of the argument as it is passed to the program.
+ `argument_position` specifies the position of the argument as it's passed to the program.
`argument_name`
@@ -49,11 +49,11 @@ DEFINE_PROGRAM_ARGUMENT(
`out_argument IN BOOLEAN DEFAULT FALSE`
- `out_argument` is not currently used; if specified, the value must be `FALSE`.
+ `out_argument` isn't currently used. If specified, the value must be `FALSE`.
## Example
-The following code fragment uses the `DEFINE_PROGRAM_ARGUMENT` procedure to define the first and second arguments in a program named `add_emp`:
+This code fragment uses the `DEFINE_PROGRAM_ARGUMENT` procedure to define the first and second arguments in a program named `add_emp`:
```text
EXEC
@@ -71,4 +71,4 @@ EXEC
argument_type => 'VARCHAR2');
```
-The first argument is an `INTEGER` value named `dept_no` that has a default value of `20`. The second argument is a `VARCHAR2` value named `emp_name`; the second argument does not have a default value.
+The first argument is an `INTEGER` value named `dept_no` that has a default value of `20`. The second argument is a `VARCHAR2` value named `emp_name` and doesn't have a default value.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/06_dbms_scheduler_disable.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/06_dbms_scheduler_disable.mdx
index 228d3f5bb97..850d68ee9a7 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/06_dbms_scheduler_disable.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/06_dbms_scheduler_disable.mdx
@@ -17,17 +17,17 @@ DISABLE(
`name`
- `name` specifies the name of the program or job that is being disabled.
+ `name` specifies the name of the program or job that's being disabled.
`force`
- `force` is accepted for compatibility, and ignored.
+ `force` is accepted for compatibility and ignored.
`commit_semantics`
- `commit_semantics` instructs the server how to handle an error encountered while disabling a program or job. By default, `commit_semantics` is set to `STOP_ON_FIRST_ERROR`, instructing the server to stop when it encounters an error. Any programs or jobs that were successfully disabled prior to the error are committed to disk.
+ `commit_semantics` tells the server how to handle an error encountered while disabling a program or job. By default, `commit_semantics` is set to `STOP_ON_FIRST_ERROR`, which means to stop when an error is encountered. Any programs or jobs that were successfully disabled before the error are committed to disk.
- The `TRANSACTIONAL` and `ABSORB_ERRORS` keywords are accepted for compatibility, and ignored.
+ The `TRANSACTIONAL` and `ABSORB_ERRORS` keywords are accepted for compatibility and ignored.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/07_drop_job.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/07_drop_job.mdx
index 5e507fc7e5a..887171481b0 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/07_drop_job.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/07_drop_job.mdx
@@ -2,7 +2,7 @@
title: "DROP_JOB"
---
-Use the `DROP_JOB` procedure to `DROP` a job, `DROP` any arguments that belong to the job, and eliminate any future job executions. The signature of the procedure is:
+Use the `DROP_JOB` procedure to drop a job, drop any arguments that belong to the job, and eliminate any future job executions. The signature of the procedure is:
```text
DROP_JOB(
@@ -16,21 +16,21 @@ DROP_JOB(
`job_name`
- `job_name` specifies the name of the job that is being dropped.
+ `job_name` specifies the name of the job that's being dropped.
`force`
- `force` is accepted for compatibility, and ignored.
+ `force` is accepted for compatibility and ignored.
`defer`
- `defer` is accepted for compatibility, and ignored.
+ `defer` is accepted for compatibility and ignored.
`commit_semantics`
- `commit_semantics` instructs the server how to handle an error encountered while dropping a program or job. By default, `commit_semantics` is set to `STOP_ON_FIRST_ERROR`, instructing the server to stop when it encounters an error.
+ `commit_semantics` tells the server how to handle an error encountered while dropping a program or job. By default, `commit_semantics` is set to `STOP_ON_FIRST_ERROR`, which means to stop when an error is encountered.
- The `TRANSACTIONAL` and `ABSORB_ERRORS` keywords are accepted for compatibility, and ignored.
+ The `TRANSACTIONAL` and `ABSORB_ERRORS` keywords are accepted for compatibility and ignored.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/08_drop_program.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/08_drop_program.mdx
index 6591e3db975..1e0641e25dd 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/08_drop_program.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/08_drop_program.mdx
@@ -2,7 +2,7 @@
title: "DROP_PROGRAM"
---
-The `DROP_PROGRAM` procedure to drop a program. The signature of the `DROP_PROGRAM` procedure is:
+The `DROP_PROGRAM` procedure drops a program. The signature of the `DROP_PROGRAM` procedure is:
```text
DROP_PROGRAM(
@@ -14,17 +14,17 @@ DROP_PROGRAM(
`program_name`
- `program_name` specifies the name of the program that is being dropped.
+ `program_name` specifies the name of the program that's being dropped.
`force`
- `force` is a `BOOLEAN` value that instructs the server how to handle programs with dependent jobs.
+ `force` is a Boolean value that tells the server how to handle programs with dependent jobs.
-- Specify `FALSE` to instruct the server to return an error if the program is referenced by a job.
+- Specify `FALSE` to return an error if the program is referenced by a job.
-- Specify `TRUE` to instruct the server to disable any jobs that reference the program before dropping the program.
+- Specify `TRUE` to disable any jobs that reference the program before dropping the program.
- The default value is `FALSE`.
+ The default value is `FALSE`.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/09_drop_program_argument.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/09_drop_program_argument.mdx
index 43d05e95f89..70a622bd4e1 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/09_drop_program_argument.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/09_drop_program_argument.mdx
@@ -2,7 +2,7 @@
title: "DROP_PROGRAM_ARGUMENT"
---
-Use the `DROP_PROGRAM_ARGUMENT` procedure to drop a program argument. The `DROP_PROGRAM_ARGUMENT` procedure comes in two forms; the first form uses an argument position to specify which argument to drop:
+Use the `DROP_PROGRAM_ARGUMENT` procedure to drop a program argument. The `DROP_PROGRAM_ARGUMENT` procedure comes in two forms. The first form uses an argument position to specify the argument to drop:
```text
DROP_PROGRAM_ARGUMENT(
@@ -22,15 +22,15 @@ DROP_PROGRAM_ARGUMENT(
`program_name`
- `program_name` specifies the name of the program that is being modified.
+ `program_name` specifies the name of the program that's being modified.
`argument_position`
- `argument_position` specifies the position of the argument that is being dropped.
+ `argument_position` specifies the position of the argument that's being dropped.
`argument_name`
- `argument_name` specifies the name of the argument that is being dropped.
+ `argument_name` specifies the name of the argument that's being dropped.
## Examples
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/10_drop_schedule.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/10_drop_schedule.mdx
index 1ed05148e06..6d44baf91eb 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/10_drop_schedule.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/10_drop_schedule.mdx
@@ -14,14 +14,14 @@ DROP_SCHEDULE(
`schedule_name`
- `schedule_name` specifies the name of the schedule that is being dropped.
+ `schedule_name` specifies the name of the schedule that's being dropped.
`force`
`force` specifies the behavior of the server if the specified schedule is referenced by any job:
-- Specify `FALSE` to instruct the server to return an error if the specified schedule is referenced by a job. This is the default behavior.
-- Specify `TRUE` to instruct the server to disable to any jobs that use the specified schedule before dropping the schedule. Any running jobs are allowed to complete before the schedule is dropped.
+ - Specify `FALSE` to return an error if the specified schedule is referenced by a job. This is the default behavior.
+ - Specify `TRUE` to disable to any jobs that use the specified schedule before dropping the schedule. Any running jobs are allowed to complete before the schedule is dropped.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/11_dbms_scheduler_enable.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/11_dbms_scheduler_enable.mdx
index 8d52ca662cf..234996c5353 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/11_dbms_scheduler_enable.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/11_dbms_scheduler_enable.mdx
@@ -18,13 +18,13 @@ ENABLE(
`name`
- `name` specifies the name of the program or job that is being enabled.
+ `name` specifies the name of the program or job that's being enabled.
`commit_semantics`
- `commit_semantics` instructs the server how to handle an error encountered while enabling a program or job. By default, `commit_semantics` is set to `STOP_ON_FIRST_ERROR`, instructing the server to stop when it encounters an error.
+ `commit_semantics` tells the server how to handle an error encountered while enabling a program or job. By default, `commit_semantics` is set to `STOP_ON_FIRST_ERROR`, tellin the server to stop when it encounters an error.
- The `TRANSACTIONAL` and `ABSORB_ERRORS` keywords are accepted for compatibility, and ignored.
+ The `TRANSACTIONAL` and `ABSORB_ERRORS` keywords are accepted for compatibility and ignored.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/12_evaluate_calendar_string.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/12_evaluate_calendar_string.mdx
index 9f2be1b6715..a81aa91f8f6 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/12_evaluate_calendar_string.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/12_evaluate_calendar_string.mdx
@@ -18,7 +18,7 @@ EVALUATE_CALENDAR_STRING(
`calendar_string`
- `calendar_string` is the calendar string that describes a `repeat_interval` that is being evaluated.
+ `calendar_string` is the calendar string that describes a `repeat_interval` that's being evaluated.
`start_date IN TIMESTAMP WITH TIME ZONE`
@@ -26,9 +26,9 @@ EVALUATE_CALENDAR_STRING(
`return_date_after`
- Use the `return_date_after` parameter to specify the date and time that `EVALUATE_CALENDAR_STRING` should use as a starting date when evaluating the `repeat_interval`.
+ Use the `return_date_after` parameter to specify the date and time for `EVALUATE_CALENDAR_STRING` to use as a starting date when evaluating the `repeat_interval`.
- For example, if you specify a `return_date_after` value of `01-APR-13 09.00.00.000000, EVALUATE_CALENDAR_STRING` returns the date and time of the first iteration of the schedule after April 1st, 2013.
+ For example, if you specify a `return_date_after` value of `01-APR-13 09.00.00.000000`, `EVALUATE_CALENDAR_STRING` returns the date and time of the first iteration of the schedule after April 1st, 2013.
`next_run_date OUT TIMESTAMP WITH TIME ZONE`
@@ -36,7 +36,7 @@ EVALUATE_CALENDAR_STRING(
## Example
-The following example evaluates a calendar string and returns the first date and time that the schedule will execute after June 15, 2013:
+This example evaluates a calendar string and returns the first date and time that the schedule will execute after June 15, 2013:
```text
DECLARE
@@ -56,4 +56,4 @@ END;
next_run_date: 17-JUN-13 05.00.00.000000 PM
```
-June 15, 2013 is a Saturday; the schedule will not execute until Monday, June 17, 2013 at 5:00 pm.
+Because June 15, 2013 is a Saturday, the schedule will execute on Monday, June 17, 2013 at 5:00 pm.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/13_run_job.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/13_run_job.mdx
index 0308eb7d510..fed4e087d65 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/13_run_job.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/13_run_job.mdx
@@ -18,7 +18,7 @@ RUN_JOB(
`use_current_session`
- By default, the job executes in the current session. If specified, `use_current_session` must be set to `TRUE` ; if `use_current_session` is set to `FALSE`, EDB Postgres Advanced Server returns an error.
+ By default, the job executes in the current session. If specified, `use_current_session` must be set to `TRUE`. If `use_current_session` is set to `FALSE`, EDB Postgres Advanced Server returns an error.
## Example
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/14_set_job_argument_value.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/14_set_job_argument_value.mdx
index 8413767fd3e..0ba1fdc84e5 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/14_set_job_argument_value.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/14_set_job_argument_value.mdx
@@ -2,7 +2,7 @@
title: "SET_JOB_ARGUMENT_VALUE"
---
-Use the `SET_JOB_ARGUMENT_VALUE` procedure to specify a value for an argument. The `SET_JOB_ARGUMENT_VALUE` procedure comes in two forms; the first form specifies which argument should be modified by position:
+Use the `SET_JOB_ARGUMENT_VALUE` procedure to specify a value for an argument. The `SET_JOB_ARGUMENT_VALUE` procedure comes in two forms. The first form specifies the argument to modify by position:
```text
SET_JOB_ARGUMENT_VALUE(
@@ -11,7 +11,7 @@ SET_JOB_ARGUMENT_VALUE(
IN VARCHAR2)
```
-The second form uses an argument name to specify which argument to modify:
+The second form uses an argument name to specify the argument to modify:
```text
SET_JOB_ARGUMENT_VALUE(
@@ -42,13 +42,13 @@ Argument values set by the `SET_JOB_ARGUMENT_VALUE` procedure override any value
## Examples
-The following example assigns a value of `30` to the first argument in the `update_emp` job:
+This example assigns a value of `30` to the first argument in the `update_emp` job:
```text
DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE('update_emp', 1, '30');
```
-The following example sets the `emp_name` argument to `SMITH`:
+This example sets the `emp_name` argument to `SMITH`:
```text
DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE('update_emp', 'emp_name', 'SMITH');
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/index.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/index.mdx
index 0274dcac0ee..9d0372a90e5 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/index.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/15_dbms_scheduler/index.mdx
@@ -7,16 +7,16 @@ legacyRedirectsGenerated:
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/9.5/EDB_Postgres_Enterprise_Guide.1.159.html"
---
-The `DBMS_SCHEDULER` package provides a way to create and manage Oracle-styled jobs, programs and job schedules. The `DBMS_SCHEDULER` package implements the following functions and procedures:
+The `DBMS_SCHEDULER` package provides a way to create and manage Oracle-style jobs, programs, and job schedules. The `DBMS_SCHEDULER` package implements the following functions and procedures:
-| Function/procedure | Return Type | Description |
+| Function/procedure | Return type | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `CREATE_JOB(job_name, job_type, job_action, number_of_arguments, start_date, repeat_interval, end_date, job_class, enabled, auto_drop, comments)` | n/a | Use the first form of the `CREATE_JOB` procedure to create a job, specifying program and schedule details by means of parameters. |
| `CREATE_JOB(job_name, program_name, schedule_name, job_class, enabled, auto_drop, comments)` | n/a | Use the second form of `CREATE_JOB` to create a job that uses a named program and named schedule. |
| `CREATE_PROGRAM(program_name, program_type, program_action, number_of_arguments, enabled, comments)` | n/a | Use `CREATE_PROGRAM` to create a program. |
| `CREATE_SCHEDULE(schedule_name, start_date, repeat_interval, end_date, comments)` | n/a | Use the `CREATE_SCHEDULE` procedure to create a schedule. |
| `DEFINE_PROGRAM_ARGUMENT(program_name, argument_position, argument_name, argument_type, default_value, out_argument)` | n/a | Use the first form of the `DEFINE_PROGRAM_ARGUMENT` procedure to define a program argument that has a default value. |
-| `DEFINE_PROGRAM_ARGUMENT(program_name, argument_position, argument_name, argument_type, out_argument)` | n/a | Use the first form of the `DEFINE_PROGRAM_ARGUMENT` procedure to define a program argument that does not have a default value. |
+| `DEFINE_PROGRAM_ARGUMENT(program_name, argument_position, argument_name, argument_type, out_argument)` | n/a | Use the first form of the `DEFINE_PROGRAM_ARGUMENT` procedure to define a program argument that doesn't have a default value. |
| `DISABLE(name, force, commit_semantics)` | n/a | Use the `DISABLE` procedure to disable a job or program. |
| `DROP_JOB(job_name, force, defer, commit_semantics)` | n/a | Use the `DROP_JOB` procedure to drop a job. |
| `DROP_PROGRAM(program_name, force)` | n/a | Use the `DROP_PROGRAM` procedure to drop a program. |
@@ -26,20 +26,20 @@ The `DBMS_SCHEDULER` package provides a way to create and manage Oracle-styled j
| `ENABLE(name, commit_semantics)` | n/a | Use the `ENABLE` command to enable a program or job. |
| `EVALUATE_CALENDAR_STRING(calendar_string, start_date, return_date_after, next_run_date)` | n/a | Use `EVALUATE_CALENDAR_STRING` to review the execution date described by a user-defined calendar schedule. |
| `RUN_JOB(job_name, use_current_session, manually)` | n/a | Use the `RUN_JOB` procedure to execute a job immediately. |
-| `SET_JOB_ARGUMENT_VALUE(job_name, argument_position, argument_value)` | n/a | Use the first form of `SET_JOB_ARGUMENT` value to set the value of a job argument described by the argument's position. |
-| `SET_JOB_ARGUMENT_VALUE(job_name, argument_name, argument_value)` | n/a | Use the second form of `SET_JOB_ARGUMENT` value to set the value of a job argument described by the argument's name. |
+| `SET_JOB_ARGUMENT_VALUE(job_name, argument_position, argument_value)` | n/a | Use the first form of `SET_JOB_ARGUMENT_VALUE` to set the value of a job argument described by the argument's position. |
+| `SET_JOB_ARGUMENT_VALUE(job_name, argument_name, argument_value)` | n/a | Use the second form of `SET_JOB_ARGUMENT_VALUE` to set the value of a job argument described by the argument's name. |
-EDB Postgres Advanced Server's implementation of `DBMS_SCHEDULER` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table above are supported.
+EDB Postgres Advanced Server's implementation of `DBMS_SCHEDULER` is a partial implementation when compared to Oracle's version. Only those functions and procedures listed in the table are supported.
-The `DBMS_SCHEDULER` package is dependent on the pgAgent service; you must have a pgAgent service installed and running on your server before using `DBMS_SCHEDULER`.
+The `DBMS_SCHEDULER` package depends on the pgAgent service. You must have a pgAgent service installed and running on your server before using `DBMS_SCHEDULER`.
-Before using `DBMS_SCHEDULER`, a database superuser must create the catalog tables in which the `DBMS_SCHEDULER` programs, schedules and jobs are stored. Use the `psql` client to connect to the database, and invoke the command:
+Before using `DBMS_SCHEDULER`, a database superuser must create the catalog tables in which the `DBMS_SCHEDULER` programs, schedules, and jobs are stored. Use the psql client to connect to the database, and invoke the command:
```text
CREATE EXTENSION dbms_scheduler;
```
-By default, the `dbms_scheduler` extension resides in the `contrib/dbms_scheduler_ext` subdirectory (under the EDB Postgres Advanced Server installation).
+By default, the `dbms_scheduler` extension resides in the `contrib/dbms_scheduler_ext` subdirectory under the EDB Postgres Advanced Server installation.
After creating the `DBMS_SCHEDULER` tables, only a superuser can perform a dump or reload of the database.
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/16_dbms_session.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/16_dbms_session.mdx
index 7eddc2909c5..b0f60e0b6db 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/16_dbms_session.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/16_dbms_session.mdx
@@ -25,7 +25,7 @@ The `SET_ROLE` procedure sets the current session user to the role specified in
SET_ROLE()
```
-The `SET_ROLE` procedure appends the value specified for `role_cmd` to the `SET ROLE` statement, and then invokes the statement.
+The `SET_ROLE` procedure appends the value specified for `role_cmd` to the `SET ROLE` statement and then invokes the statement.
### Parameters
@@ -35,7 +35,7 @@ The `SET_ROLE` procedure appends the value specified for `role_cmd` to the `SET
### Example
-The following call to the `SET_ROLE` procedure invokes the `SET ROLE` command to set the identity of the current session user to manager:
+This call to the `SET_ROLE` procedure invokes the `SET ROLE` command to set the identity of the current session user to manager:
```text
edb=# exec DBMS_SESSION.SET_ROLE('manager');
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/01_bind_variable.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/01_bind_variable.mdx
index c0d83b9e96e..e6f898d2b67 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/01_bind_variable.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/01_bind_variable.mdx
@@ -2,7 +2,7 @@
title: "BIND_VARIABLE"
---
-The `BIND_VARIABLE` procedure provides the capability to associate a value with an `IN` or `IN OUT` bind variable in a SQL command.
+The `BIND_VARIABLE` procedure associates a value with an `IN` or `IN OUT` bind variable in a SQL command.
```text
BIND_VARIABLE( NUMBER, VARCHAR2,
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/02_bind_variable_char.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/02_bind_variable_char.mdx
index 45d9e3e13bb..73ac16d0365 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/02_bind_variable_char.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/02_bind_variable_char.mdx
@@ -2,7 +2,7 @@
title: "BIND_VARIABLE_CHAR"
---
-The `BIND_VARIABLE_CHAR` procedure provides the capability to associate a `CHAR` value with an `IN` or `IN OUT` bind variable in a SQL command.
+The `BIND_VARIABLE_CHAR` procedure associates a `CHAR` value with an `IN` or `IN OUT` bind variable in a SQL command.
```text
BIND_VARIABLE_CHAR( NUMBER, VARCHAR2, CHAR
diff --git a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/03_bind_variable_raw.mdx b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/03_bind_variable_raw.mdx
index fcbcbaaad94..dfd8eb974b4 100644
--- a/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/03_bind_variable_raw.mdx
+++ b/product_docs/docs/epas/14/epas_compat_bip_guide/03_built-in_packages/17_dbms_sql/03_bind_variable_raw.mdx
@@ -2,7 +2,7 @@
title: "BIND_VARIABLE_RAW"
---
-The `BIND_VARIABLE_RAW` procedure provides the capability to associate a `RAW` value with an `IN` or `IN OUT` bind variable in a SQL command.
+The `BIND_VARIABLE_RAW` procedure associates a `RAW` value with an `IN` or `IN OUT` bind variable in a SQL command.
```text
BIND_VARIABLE_RAW( NUMBER,