silent-connection-drop-part-2.td 827 B

12345678910111213141516171819202122232425
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. # IMPORTANT: The Postgres server has a custom pg_hba.conf that only
  10. # accepts connections from specific users. You will have to update
  11. # pg_hba.conf if you modify the existing user names or add new ones.
  12. $ postgres-execute connection=postgres://postgres:postgres@postgres
  13. INSERT INTO table_1 VALUES (4, 'four');
  14. # re-enable cluster
  15. > ALTER CLUSTER sconn_drop_cluster SET (REPLICATION FACTOR 1)
  16. > SELECT * FROM table_1;
  17. 1 one
  18. 2 two
  19. 3 three
  20. 4 four