Merge pull request #834 from pushytoxin/rust_compress_database_name

Name the Synapse database on state compression import
This commit is contained in:
Slavi Pantaleev 2021-01-28 19:13:15 +02:00 committed by GitHub
commit 78b059d9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@
--entrypoint=/bin/sh --entrypoint=/bin/sh
{{ matrix_postgres_docker_image_latest }} {{ matrix_postgres_docker_image_latest }}
-c "cat /work/state-compressor.sql | -c "cat /work/state-compressor.sql |
psql -v ON_ERROR_STOP=1 -h matrix-postgres" psql -v ON_ERROR_STOP=1 -h matrix-postgres -d {{ matrix_synapse_database_database }}"
- name: Import compression SQL into Postgres - name: Import compression SQL into Postgres
command: "{{ matrix_synapse_rust_synapse_compress_state_psql_import_command }}" command: "{{ matrix_synapse_rust_synapse_compress_state_psql_import_command }}"