Skip to content

Commit

Permalink
Merge pull request #3286 from EnterpriseDB/release/2022-10-26
Browse files Browse the repository at this point in the history
Release: 2022-10-26
  • Loading branch information
drothery-edb authored Oct 26, 2022
2 parents be0459e + 6499f9c commit edf5f3d
Show file tree
Hide file tree
Showing 197 changed files with 1,758 additions and 1,808 deletions.
18 changes: 0 additions & 18 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
## What Changed?

Please list, at a high level, what changed in your branch. If you changed content, include the product, section, and version as applicable. **Please remove the user instructions including the examples before merging the PR.**

**Examples**

- Fixed typo in EPAS 13 epas_inst_linux guide
- Added more detail to ARK 3.5 getting started guide introduction
- Fixed broken link on `/supported-open-source/pgbackrest/05-retention_policy/` page

## Checklist

Please check all boxes that apply (`[ ]` is unchecked, `[x]` is checked)

**Content**

- [ ] This PR adds new content
- [ ] This PR changes existing content
- [ ] This PR removes existing content
- [ ] This PR is for a release, please add this tag:
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
title: "Managing Postgres access"
---


Don't use the `edb_admin` database role and `edb_admin` database created when creating your cluster in your application. Instead, create a new database role and a new database, which provides a high level of isolation in Postgres. If multiple applications are using the same cluster, each database can also contain multiple schemas, essentially a namespace in the database. If strict isolation is needed, use a dedicated cluster or dedicated database. If that strict isolation level isn't required, you can deploy a single database with multiple schemas. Refer to [Privileges](https://www.postgresql.org/docs/current/ddl-priv.html) in the PostgreSQL documentation to further customize ownership and roles to your requirements.

To create a new role and database, first connect using `psql`:

```shell
psql -W "postgres://[email protected]:5432/edb_admin?sslmode=require"
```
!!! Note
Avoid storing data in the `postgres` system database.

## Notes on the edb_admin role

Expand Down
2 changes: 1 addition & 1 deletion product_docs/docs/epas/14/epas_compat_cat_views/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
navTitle: Catalog views
navTitle: Catalog Views
title: "Database compatibility for Oracle developers: catalog views"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ legacyRedirectsGenerated:

<div id="all_all_tables" class="registered_link"></div>

The `ALL_ALL_TABLES` view provides information about the tables accessible by the current user.
The `ALL_ALL_TABLES` view provides information about the tables the current user can access.

| Name | Type | Description |
| ----------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `owner` | `TEXT` | User name of the table’s owner. |
| `schema_name` | `TEXT` | Name of the schema in which the table belongs. |
| `table_name` | `TEXT` | The name of the table. |
| `tablespace_name` | `TEXT` | Name of the tablespace in which the table resides. If the tablespace name is not specified, then default tablespace `PG_DEFAULT`. |
| `table_name` | `TEXT` | Name of the table. |
| `tablespace_name` | `TEXT` | Name of the tablespace in which the table resides. If the tablespace name isn't specified, then default tablespace `PG_DEFAULT`. |
| `degree` | `CHARACTER VARYING(10)` | Number of threads per instance to scan a table, or `DEFAULT`. |
| `status` | `CHARACTER VARYING (5)` | Included for compatibility only; always set to `VALID`. |
| `temporary` | `TEXT` | `Y` if the table is temporary; `N` if the table is permanent. |
| `status` | `CHARACTER VARYING (5)` | Included only for compatibility. Always set to `VALID`. |
| `temporary` | `TEXT` | `Y` if the table is temporary, `N` if the table is permanent. |
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The `ALL_CONS_COLUMNS` view provides information about the columns specified in
| ----------------- | ---------- | -------------------------------------------------------- |
| `owner` | `TEXT` | User name of the constraint’s owner. |
| `schema_name` | `TEXT` | Name of the schema in which the constraint belongs. |
| `constraint_name` | `TEXT` | The name of the constraint. |
| `table_name` | `TEXT` | The name of the table to which the constraint belongs. |
| `column_name` | `TEXT` | The name of the column referenced in the constraint. |
| `position` | `SMALLINT` | The position of the column within the object definition. |
| `constraint_def` | `TEXT` | The definition of the constraint. |
| `constraint_name` | `TEXT` | Name of the constraint. |
| `table_name` | `TEXT` | Name of the table to which the constraint belongs. |
| `column_name` | `TEXT` | Name of the column referenced in the constraint. |
| `position` | `SMALLINT` | Position of the column in the object definition. |
| `constraint_def` | `TEXT` | Definition of the constraint. |
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ The `ALL_CONSTRAINTS` view provides information about the constraints placed on
| ------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `owner` | `TEXT` | User name of the constraint’s owner. |
| `schema_name` | `TEXT` | Name of the schema in which the constraint belongs. |
| `constraint_name` | `TEXT` | The name of the constraint. |
| `constraint_name` | `TEXT` | Name of the constraint. |
| `constraint_type` | `TEXT` | The constraint type. Possible values are: `C` – check constraint; `F` – foreign key constraint; `P` – primary key constraint; `U` – unique key constraint; `R` – referential integrity constraint; `V` – constraint on a view; `O` – with read-only, on a view |
| `table_name` | `TEXT` | Name of the table to which the constraint belongs. |
| `search_condition` | `TEXT` | Search condition that applies to a check constraint. |
| `r_owner` | `TEXT` | Owner of a table referenced by a referential constraint. |
| `r_constraint_name` | `TEXT` | Name of the constraint definition for a referenced table. |
| `delete_rule` | `TEXT` | The delete rule for a referential constraint. Possible values are: `C` – cascade; `R` – restrict; `N` – no action |
| `delete_rule` | `TEXT` | Delete rule for a referential constraint. Possible values are: `C` – cascade; `R` – restrict; `N` – no action |
| `deferrable` | `BOOLEAN` | Specified if the constraint is deferrable (`T` or `F`). |
| `deferred` | `BOOLEAN` | Specifies if the constraint has been deferred (`T` or `F`). |
| `deferred` | `BOOLEAN` | Specified if the constraint was deferred (`T` or `F`). |
| `index_owner` | `TEXT` | User name of the index owner. |
| `index_name` | `TEXT` | The name of the index. |
| `constraint_def` | `TEXT` | The definition of the constraint. |
| `index_name` | `TEXT` | Name of the index. |
| `constraint_def` | `TEXT` | Definition of the constraint. |
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ The `ALL_COL_PRIVS` view provides the following types of privileges:
| `table_name` | `CHARACTER VARYING(128)` | Object name. |
| `column_name` | `CHARACTER VARYING(128)` | Column name. |
| `privilege` | `CHARACTER VARYING(40)` | Privilege on the column. |
| `grantable` | `CHARACTER VARYING(3)` | Indicates whether the privilege was granted with the grant option `YES` or `NO`. `YES` indicates that the `GRANTEE` (recipient of the privilege) can in turn grant the privilege to others. The value may be `YES` if the grantee has the administrator privileges. |
| `common` | `CHARACTER VARYING(3)` | Included for compatibility only; always `NO`. |
| `inherited` | `CHARACTER VARYING(3)` | Included for compatibility only; always `NO`. |
| `grantable` | `CHARACTER VARYING(3)` | Indicates whether the privilege was granted with the grant option `YES` or `NO`. `YES` indicates that the `GRANTEE` (recipient of the privilege) can grant the privilege to others. The value can be `YES` if the grantee has administrator privileges. |
| `common` | `CHARACTER VARYING(3)` | Included for compatibility only. Always `NO`. |
| `inherited` | `CHARACTER VARYING(3)` | Included for compatibility only. Always `NO`. |
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `ALL_DB_LINKS` view provides information about the database links accessible
| Name | Type | Description |
| ---------- | ------------------- | --------------------------------------------------------------- |
| `owner` | `TEXT` | User name of the database link’s owner. |
| `db_link` | `TEXT` | The name of the database link. |
| `type` | `CHARACTER VARYING` | Type of remote server. Value is either `REDWOOD` or `EDB`. |
| `db_link` | `TEXT` | Name of the database link. |
| `type` | `CHARACTER VARYING` | Type of remote server. Value is `REDWOOD` or `EDB`. |
| `username` | `TEXT` | User name of the user logging in. |
| `host` | `TEXT` | Name or IP address of the remote server. |
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "ALL_DEPENDENCIES"

<div id="all_dependencies" class="registered_link"></div>

The `ALL_DEPENDENCIES` view provides information about the dependencies between database objects that the current user can access (except for synonyms).
The `ALL_DEPENDENCIES` view provides information about the dependencies between database objects that the current user can access, except for synonyms.

| Name | Type | Description |
| ------------------------ | ------------------------ | ---------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ The `ALL_DIRECTORIES` view provides information about all directories created wi

| Name | Type | Description |
| ---------------- | ------------------------- | ----------------------------------------- |
| `owner` | `CHARACTER VARYING(30)` | User name of the directory’s owner. |
| `directory_name` | `CHARACTER VARYING(30)` | The alias name assigned to the directory. |
| `directory_path` | `CHARACTER VARYING(4000)` | The path to the directory. |
| `owner` | `CHARACTER VARYING(30)` | User name of the directory owner. |
| `directory_name` | `CHARACTER VARYING(30)` | Alias name assigned to the directory. |
| `directory_path` | `CHARACTER VARYING(4000)` | Path to the directory. |
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ The `ALL_IND_COLUMNS` view provides information about columns included in indexe

| Name | Type | Description |
| ----------------- | -------------- | ---------------------------------------------------------------- |
| `index_owner` | `TEXT` | User name of the index’s owner. |
| `index_owner` | `TEXT` | User name of the index owner. |
| `schema_name` | `TEXT` | Name of the schema in which the index belongs. |
| `index_name` | `TEXT` | The name of the index. |
| `index_name` | `TEXT` | Name of the index. |
| `table_owner` | `TEXT` | User name of the table owner. |
| `table_name` | `TEXT` | The name of the table to which the index belongs. |
| `column_name` | `TEXT` | The name of the column. |
| `column_position` | `SMALLINT` | The position of the column within the index. |
| `column_length` | `SMALLINT` | The length of the column (in bytes). |
| `char_length` | `NUMERIC` | The length of the column (in characters). |
| `descend` | `CHARACTER(1)` | Always set to `Y` (descending); included for compatibility only. |
| `table_name` | `TEXT` | Name of the table to which the index belongs. |
| `column_name` | `TEXT` | Name of the column. |
| `column_position` | `SMALLINT` | Position of the column in the index. |
| `column_length` | `SMALLINT` | Length of the column in bytes. |
| `char_length` | `NUMERIC` | Length of the column in characters. |
| `descend` | `CHARACTER(1)` | Always set to `Y` (descending). Included only for compatibility. |
Loading

0 comments on commit edf5f3d

Please sign in to comment.