Merge branch 'trunk' into 5.0

This commit is contained in:
Alexey Pustovalov 2021-10-14 15:13:06 +02:00
commit fa5324633f
4 changed files with 4 additions and 4 deletions

View File

@ -291,7 +291,7 @@ create_db_schema_postgresql() {
echo "** Creating '${DB_SERVER_DBNAME}' schema in PostgreSQL"
if [ "${ENABLE_TIMESCALEDB,,}" == "true" ]; then
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;"
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" "${DB_SERVER_DBNAME}"
fi
if [ -n "${DB_SERVER_ZBX_PASS}" ]; then

View File

@ -291,7 +291,7 @@ create_db_schema_postgresql() {
echo "** Creating '${DB_SERVER_DBNAME}' schema in PostgreSQL"
if [ "${ENABLE_TIMESCALEDB,,}" == "true" ]; then
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;"
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" "${DB_SERVER_DBNAME}"
fi
if [ -n "${DB_SERVER_ZBX_PASS}" ]; then

View File

@ -291,7 +291,7 @@ create_db_schema_postgresql() {
echo "** Creating '${DB_SERVER_DBNAME}' schema in PostgreSQL"
if [ "${ENABLE_TIMESCALEDB,,}" == "true" ]; then
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;"
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" "${DB_SERVER_DBNAME}"
fi
if [ -n "${DB_SERVER_ZBX_PASS}" ]; then

View File

@ -291,7 +291,7 @@ create_db_schema_postgresql() {
echo "** Creating '${DB_SERVER_DBNAME}' schema in PostgreSQL"
if [ "${ENABLE_TIMESCALEDB,,}" == "true" ]; then
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;"
psql_query "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" "${DB_SERVER_DBNAME}"
fi
if [ -n "${DB_SERVER_ZBX_PASS}" ]; then