You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
491 B

2 years ago
  1. [postgres2]
  2. enabled = true
  3. port = 5432
  4. createTable = """
  5. CREATE TABLE IF NOT EXISTS "%s" (
  6. dirhash BIGINT,
  7. name VARCHAR(65535),
  8. directory VARCHAR(65535),
  9. meta bytea,
  10. PRIMARY KEY (dirhash, name)
  11. );
  12. """
  13. hostname = "postgres"
  14. username = "seaweedfs"
  15. database = "seaweedfs" # create or use an existing database
  16. password = "seaweedfs"
  17. schema = ""
  18. sslmode = "disable"
  19. connection_max_idle = 5
  20. connection_max_open = 10
  21. connection_max_lifetime_seconds = 0