3
0

Merge branch 'jenkins-build-33' into 'master'

Auto-merge for build 33

See merge request puppet/postgresql_cd!30
This commit is contained in:
2025-10-26 15:57:12 +00:00

View File

@@ -1,3 +1,2 @@
psql -U postgres -tc "SELECT 1 FROM pg_database WHERE datname = '<%= @pl_db_name %>'" | grep -q 1 || psql -U postgres -c "CREATE DATABASE <%= @pl_db_name %> OWNER '<%= @pl_owner_name %>' "
psql -U postgres -tc "GRANT ALL PRIVILEGES ON DATABASE <%= @pl_db_name %> TO '<%= @pl_owner_name %>'"
psql -U postgres <%= @pl_db_name %> -c 'create extension if not exists <%= @pl_db_extension %>'