-
Suggestion
-
Resolution: Unresolved
-
None
-
0
-
3
-
Issue Summary
This suggestion was created to fix our documentation related to Postgres database creation: Connect Bamboo to a PostgreSQL database.
Description
Starting Bamboo 9.1, Postgres 15 became supported by Bamboo as per Bamboo 9.1 - Supported platforms, but in Connect Bamboo to a PostgreSQL database documentation there's dedicated section to help users to create the database in case if Postgres 15 is being used.
Suggestion
Add to Connect Bamboo to a PostgreSQL database documentation some similar information that is present in Connecting Jira applications to PostgreSQL. For example:
With PostgreSQL 15, there has been a change in the way table creation permissions are handled for users. PostgreSQL 15 revokes the CREATE permission from all users except a database owner from the public (or default) schema. According to the Postgres 15 documentation, you can fix it by creating a user-private schema for the Bamboo database user.
However, you can also grant the permission to the public schema by running the following commands:
- Create the user that Bamboo will be using.
CREATE USER bamboo WITH PASSWORD 'atlas';- Create the database.
CREATE DATABASE bamboo WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;- Grant the necessary privileges to the database:
GRANT ALL PRIVILEGES ON DATABASE bamboo TO atlas;- Connect to the database.
\c bamboo postgres
- Grant the required schema privileges:
atlas=# GRANT ALL ON SCHEMA public TO atlas;
[BAM-25818] Fix Connect Bamboo to a PostgreSQL database documentation on Bamboo 9.1 and later versions
Support reference count | New: 3 |
Labels | New: doc-medium |
UIS | Original: 1 | New: 0 |
UIS | New: 1 |
Description |
Original:
h3. Issue Summary
This suggestion was created to fix our documentation related to Postgres database creation: [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html]. h3. Description Starting Bamboo 9.1, Postgres 15 became supported by Bamboo as per [Bamboo 9.1 - Supported platforms|https://confluence.atlassian.com/bamboo0901/supported-platforms-1188401523.html], but in [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation there's dedicated section to help users to create the database in case if Postgres 15 is being used. h3. Suggestion Add to [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation some similar information that is present in [Connecting Jira applications to PostgreSQL|https://confluence.atlassian.com/adminjiraserver0904/connecting-jira-applications-to-postgresql-1188767592.html]. For example: {quote}With PostgreSQL 15, there has been a change in the way table creation permissions are handled for users. PostgreSQL 15 revokes the CREATE permission from all users except a database owner from the public (or default) schema. According to the [Postgres 15 documentation|https://www.postgresql.org/docs/15/ddl-schemas.html], you can fix it by creating a user-private schema for the Bamboo database user. However, you can also grant the permission to the public schema by running the following commands: # Create the user that Bamboo will be using. {code:sql} CREATE USER bamboo WITH PASSWORD 'atlas';{code} # Create the database. {code:sql} CREATE DATABASE bamboo WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;{code} # Grant the necessary privileges to the database{*}:{*} {code:sql} GRANT ALL PRIVILEGES ON DATABASE bamboo TO atlas;{code} # Connect to the database. {code:sql} bamboo postgres{code} # Grant the required schema privileges: {code:sql} atlas=# GRANT ALL ON SCHEMA public TO atlas;{code} {quote} |
New:
h3. Issue Summary
This suggestion was created to fix our documentation related to Postgres database creation: [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html]. h3. Description Starting Bamboo 9.1, Postgres 15 became supported by Bamboo as per [Bamboo 9.1 - Supported platforms|https://confluence.atlassian.com/bamboo0901/supported-platforms-1188401523.html], but in [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation there's dedicated section to help users to create the database in case if Postgres 15 is being used. h3. Suggestion Add to [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation some similar information that is present in [Connecting Jira applications to PostgreSQL|https://confluence.atlassian.com/adminjiraserver0904/connecting-jira-applications-to-postgresql-1188767592.html]. For example: {quote}With PostgreSQL 15, there has been a change in the way table creation permissions are handled for users. PostgreSQL 15 revokes the CREATE permission from all users except a database owner from the public (or default) schema. According to the [Postgres 15 documentation|https://www.postgresql.org/docs/15/ddl-schemas.html], you can fix it by creating a user-private schema for the Bamboo database user. However, you can also grant the permission to the public schema by running the following commands: # Create the user that Bamboo will be using. {code:sql} CREATE USER bamboo WITH PASSWORD 'atlas';{code} # Create the database. {code:sql} CREATE DATABASE bamboo WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;{code} # Grant the necessary privileges to the database{*}:{*} {code:sql} GRANT ALL PRIVILEGES ON DATABASE bamboo TO atlas;{code} # Connect to the database. {code:sql} \c bamboo postgres{code} # Grant the required schema privileges: {code:sql} atlas=# GRANT ALL ON SCHEMA public TO atlas;{code} {quote} |
Description |
Original:
h3. Issue Summary
This suggestion was created to fix our documentation related to Postgres database creation: [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html]. h3. Description Starting Bamboo 9.1, Postgres 15 became supported by Bamboo as per [Bamboo 9.1 - Supported platforms|https://confluence.atlassian.com/bamboo0901/supported-platforms-1188401523.html], but in [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation there's dedicated section to help users to create the database in case if Postgres 15 is being used. h3. Suggestion Add to [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation some similar information that is present in [Connecting Jira applications to PostgreSQL|https://confluence.atlassian.com/adminjiraserver0904/connecting-jira-applications-to-postgresql-1188767592.html]. For example: {quote}With PostgreSQL 15, there has been a change in the way table creation permissions are handled for users. PostgreSQL 15 revokes the CREATE permission from all users except a database owner from the public (or default) schema. According to the [Postgres 15 documentation|https://www.postgresql.org/docs/15/ddl-schemas.html], you can fix it by creating a user-private schema for the Bamboo database user. However, you can also grant the permission to the public schema by running the following commands: # Create the user that Bamboo will be using. {code:sql} CREATE USER bamboo WITH PASSWORD 'atlas';{code} # Create the database. {code:sql} CREATE DATABASE bamboo WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;{code} # Grant the necessary privileges to the database{*}:{*} {code:sql} GRANT ALL PRIVILEGES ON DATABASE bamboo TO atlas;{code} # Connect to the database. {code:sql} atlas postgres{code} # Grant the required schema privileges: {code:sql} atlas=# GRANT ALL ON SCHEMA public TO atlas;{code} {quote} |
New:
h3. Issue Summary
This suggestion was created to fix our documentation related to Postgres database creation: [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html]. h3. Description Starting Bamboo 9.1, Postgres 15 became supported by Bamboo as per [Bamboo 9.1 - Supported platforms|https://confluence.atlassian.com/bamboo0901/supported-platforms-1188401523.html], but in [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation there's dedicated section to help users to create the database in case if Postgres 15 is being used. h3. Suggestion Add to [Connect Bamboo to a PostgreSQL database|https://confluence.atlassian.com/bamboo0901/connect-bamboo-to-a-postgresql-database-1188402822.html] documentation some similar information that is present in [Connecting Jira applications to PostgreSQL|https://confluence.atlassian.com/adminjiraserver0904/connecting-jira-applications-to-postgresql-1188767592.html]. For example: {quote}With PostgreSQL 15, there has been a change in the way table creation permissions are handled for users. PostgreSQL 15 revokes the CREATE permission from all users except a database owner from the public (or default) schema. According to the [Postgres 15 documentation|https://www.postgresql.org/docs/15/ddl-schemas.html], you can fix it by creating a user-private schema for the Bamboo database user. However, you can also grant the permission to the public schema by running the following commands: # Create the user that Bamboo will be using. {code:sql} CREATE USER bamboo WITH PASSWORD 'atlas';{code} # Create the database. {code:sql} CREATE DATABASE bamboo WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;{code} # Grant the necessary privileges to the database{*}:{*} {code:sql} GRANT ALL PRIVILEGES ON DATABASE bamboo TO atlas;{code} # Connect to the database. {code:sql} bamboo postgres{code} # Grant the required schema privileges: {code:sql} atlas=# GRANT ALL ON SCHEMA public TO atlas;{code} {quote} |