Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #24831: On postgresql 15, in some cases, user rudder cannot create or update the tables #2868

Conversation

ncharles
Copy link
Member

@ncharles ncharles commented May 3, 2024

@ncharles ncharles requested a review from fanf May 3, 2024 08:13

# ensure rights for rudder user on database rudder, to ensure it can create or update tables
# necessary in some cases for postgresql 15
su postgres -s /bin/sh -c "psql -q -c \"GRANT ALL ON DATABASE rudder to rudder\"" >> ${LOG_FILE}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should use the variables like previous commands

@ncharles
Copy link
Member Author

ncharles commented May 3, 2024

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

OK, squash merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant force-pushed the bug_24831/on_postgresql_15_in_some_cases_user_rudder_cannot_create_or_update_the_tables branch from 08e57d9 to 7a4d889 Compare May 3, 2024 09:03
@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 7a4d889 into Normation:branches/rudder/8.0 May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants