Skip to content

Commit

Permalink
Docs: Improve PostgreSQL db and user setup for clarity (#44067)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanifmusa96 authored Nov 18, 2024
1 parent f834a63 commit f860ec9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/apache-airflow/howto/set-up-database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ In the example below, a database ``airflow_db`` and user with username ``airflo
CREATE DATABASE airflow_db;
CREATE USER airflow_user WITH PASSWORD 'airflow_pass';
GRANT ALL PRIVILEGES ON DATABASE airflow_db TO airflow_user;
-- PostgreSQL 15 requires additional privileges:
-- Note: Connect to the airflow_db database before running the following GRANT statement
-- You can do this in psql with: \c airflow_db
GRANT ALL ON SCHEMA public TO airflow_user;
.. note::
Expand Down

0 comments on commit f860ec9

Please sign in to comment.