-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2696 from EnterpriseDB/release/2022-05-19
Release: 2022-05-19
- Loading branch information
Showing
19 changed files
with
393 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...t_docs/docs/biganimal/release/getting_started/preparing_cloud_account/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
--- | ||
title: "Checking your cloud readiness" | ||
indexCards: simple | ||
redirects: | ||
- /biganimal/latest/getting_started/01_check_resource_limits/ | ||
--- | ||
|
||
Each time you create a new cluster you must ensure the readiness of your cloud to work with BigAnimal. |
65 changes: 65 additions & 0 deletions
65
product_docs/docs/epas/10/epas_compat_sql/11a_alter_synonym.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: "ALTER SYNONYM" | ||
legacyRedirectsGenerated: | ||
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key. | ||
- "/edb-docs/d/edb-postgres-advanced-server/reference/database-compatibility-for-oracle-developers-reference-guide/9.6/Database_Compatibility_for_Oracle_Developers_Reference_Guide.1.026.html" | ||
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/database-compatibility-for-oracle-developers-guide/9.5/Database_Compatibility_for_Oracle_Developers_Guide.1.056.html" | ||
--- | ||
|
||
## Name | ||
|
||
`ALTER SYNONYM` -- change ownership of synonym object | ||
|
||
## Synopsis | ||
|
||
```text | ||
ALTER SYNONYM <syn_name> OWNER TO <new_owner> | ||
``` | ||
|
||
## Description | ||
|
||
The `ALTER SYNONYM` command changes owner of the synonym. | ||
|
||
|
||
## Examples | ||
|
||
```text | ||
-- create user t1 and t2 | ||
edb=# create user t1; | ||
CREATE ROLE | ||
edb=# create user t2; | ||
CREATE ROLE | ||
-- grant all the privileges to user t1 and t2 on public schema | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t1; | ||
GRANT | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t2; | ||
GRANT | ||
-- connect to the database as user t1 and create the table | ||
edb=# \c - t1 | ||
You are now connected to database "edb" as user "t1". | ||
edb=> create table t(n int); | ||
CREATE TABLE | ||
-- create a synonym for table t | ||
edb=> create public synonym x for t; | ||
CREATE SYNONYM | ||
-- check the owner of the synonym x is t1 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T1 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
-- connect the database as user edb and change the owner of the synonym x to user t2 | ||
edb=> \c - edb | ||
You are now connected to database "edb" as user "edb". | ||
edb=# alter synonym x owner to t2; | ||
-- check the owner of the synonym x is changed to t2 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T2 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
``` |
6 changes: 3 additions & 3 deletions
6
...ministration/05_edb_audit_logging/01_audit_logging_configuration_parameters.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
product_docs/docs/epas/11/epas_compat_sql/11a_alter_synonym.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: "ALTER SYNONYM" | ||
legacyRedirectsGenerated: | ||
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key. | ||
- "/edb-docs/d/edb-postgres-advanced-server/reference/database-compatibility-for-oracle-developers-reference-guide/9.6/Database_Compatibility_for_Oracle_Developers_Reference_Guide.1.026.html" | ||
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/database-compatibility-for-oracle-developers-guide/9.5/Database_Compatibility_for_Oracle_Developers_Guide.1.056.html" | ||
--- | ||
|
||
## Name | ||
|
||
`ALTER SYNONYM` -- change ownership of synonym object | ||
|
||
## Synopsis | ||
|
||
```text | ||
ALTER SYNONYM <syn_name> OWNER TO <new_owner> | ||
``` | ||
|
||
## Description | ||
|
||
The `ALTER SYNONYM` command changes owner of the synonym. | ||
|
||
|
||
## Examples | ||
|
||
```text | ||
-- create user t1 and t2 | ||
edb=# create user t1; | ||
CREATE ROLE | ||
edb=# create user t2; | ||
CREATE ROLE | ||
-- grant all the privileges to user t1 and t2 on public schema | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t1; | ||
GRANT | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t2; | ||
GRANT | ||
-- connect to the database as user t1 and create the table | ||
edb=# \c - t1 | ||
You are now connected to database "edb" as user "t1". | ||
edb=> create table t(n int); | ||
CREATE TABLE | ||
-- create a synonym for table t | ||
edb=> create public synonym x for t; | ||
CREATE SYNONYM | ||
-- check the owner of the synonym x is t1 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T1 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
-- connect the database as user edb and change the owner of the synonym x to user t2 | ||
edb=> \c - edb | ||
You are now connected to database "edb" as user "edb". | ||
edb=# alter synonym x owner to t2; | ||
-- check the owner of the synonym x is changed to t2 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T2 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
product_docs/docs/epas/12/epas_compat_sql/11a_alter_synonym.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: "ALTER SYNONYM" | ||
legacyRedirectsGenerated: | ||
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key. | ||
- "/edb-docs/d/edb-postgres-advanced-server/reference/database-compatibility-for-oracle-developers-reference-guide/9.6/Database_Compatibility_for_Oracle_Developers_Reference_Guide.1.026.html" | ||
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/database-compatibility-for-oracle-developers-guide/9.5/Database_Compatibility_for_Oracle_Developers_Guide.1.056.html" | ||
--- | ||
|
||
## Name | ||
|
||
`ALTER SYNONYM` -- change ownership of synonym object | ||
|
||
## Synopsis | ||
|
||
```text | ||
ALTER SYNONYM <syn_name> OWNER TO <new_owner> | ||
``` | ||
|
||
## Description | ||
|
||
The `ALTER SYNONYM` command changes owner of the synonym. | ||
|
||
|
||
## Examples | ||
|
||
```text | ||
-- create user t1 and t2 | ||
edb=# create user t1; | ||
CREATE ROLE | ||
edb=# create user t2; | ||
CREATE ROLE | ||
-- grant all the privileges to user t1 and t2 on public schema | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t1; | ||
GRANT | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t2; | ||
GRANT | ||
-- connect to the database as user t1 and create the table | ||
edb=# \c - t1 | ||
You are now connected to database "edb" as user "t1". | ||
edb=> create table t(n int); | ||
CREATE TABLE | ||
-- create a synonym for table t | ||
edb=> create public synonym x for t; | ||
CREATE SYNONYM | ||
-- check the owner of the synonym x is t1 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T1 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
-- connect the database as user edb and change the owner of the synonym x to user t2 | ||
edb=> \c - edb | ||
You are now connected to database "edb" as user "edb". | ||
edb=# alter synonym x owner to t2; | ||
-- check the owner of the synonym x is changed to t2 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T2 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
product_docs/docs/epas/13/epas_compat_sql/11a_alter_synonym.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: "ALTER SYNONYM" | ||
legacyRedirectsGenerated: | ||
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key. | ||
- "/edb-docs/d/edb-postgres-advanced-server/reference/database-compatibility-for-oracle-developers-reference-guide/9.6/Database_Compatibility_for_Oracle_Developers_Reference_Guide.1.026.html" | ||
- "/edb-docs/d/edb-postgres-advanced-server/user-guides/database-compatibility-for-oracle-developers-guide/9.5/Database_Compatibility_for_Oracle_Developers_Guide.1.056.html" | ||
--- | ||
|
||
## Name | ||
|
||
`ALTER SYNONYM` -- change ownership of synonym object | ||
|
||
## Synopsis | ||
|
||
```text | ||
ALTER SYNONYM <syn_name> OWNER TO <new_owner> | ||
``` | ||
|
||
## Description | ||
|
||
The `ALTER SYNONYM` command changes owner of the synonym. | ||
|
||
|
||
## Examples | ||
|
||
```text | ||
-- create user t1 and t2 | ||
edb=# create user t1; | ||
CREATE ROLE | ||
edb=# create user t2; | ||
CREATE ROLE | ||
-- grant all the privileges to user t1 and t2 on public schema | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t1; | ||
GRANT | ||
edb=# GRANT ALL PRIVILEGES ON SCHEMA public TO GROUP t2; | ||
GRANT | ||
-- connect to the database as user t1 and create the table | ||
edb=# \c - t1 | ||
You are now connected to database "edb" as user "t1". | ||
edb=> create table t(n int); | ||
CREATE TABLE | ||
-- create a synonym for table t | ||
edb=> create public synonym x for t; | ||
CREATE SYNONYM | ||
-- check the owner of the synonym x is t1 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T1 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
-- connect the database as user edb and change the owner of the synonym x to user t2 | ||
edb=> \c - edb | ||
You are now connected to database "edb" as user "edb". | ||
edb=# alter synonym x owner to t2; | ||
-- check the owner of the synonym x is changed to t2 | ||
edb=# select * from all_synonyms; | ||
owner | schema_name | objid | synonym_name | table_owner | table_schema_name | table_name | db_link | ||
-------+-------------+-------+--------------+-------------+-------------------+------------+--------- | ||
T2 | PUBLIC | 16390 | X | T1 | PUBLIC | T | | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.