Browse Source

filer store: postgres adjust default config, add optioanl schema

pull/1759/head
Chris Lu 4 years ago
parent
commit
b434f7e4e0
  1. 6
      weed/command/scaffold.go

6
weed/command/scaffold.go

@ -155,7 +155,8 @@ hostname = "localhost"
port = 5432 port = 5432
username = "postgres" username = "postgres"
password = "" password = ""
database = "" # create or use an existing database
database = "postgres" # create or use an existing database
schema = "public" # create or use an existing schema
sslmode = "disable" sslmode = "disable"
connection_max_idle = 100 connection_max_idle = 100
connection_max_open = 100 connection_max_open = 100
@ -175,7 +176,8 @@ hostname = "localhost"
port = 5432 port = 5432
username = "postgres" username = "postgres"
password = "" password = ""
database = "" # create or use an existing database
database = "postgres" # create or use an existing database
schema = "public" # create or use an existing schema
sslmode = "disable" sslmode = "disable"
connection_max_idle = 100 connection_max_idle = 100
connection_max_open = 100 connection_max_open = 100

Loading…
Cancel
Save