Skip to content

Commit

Permalink
More info about Postgres connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
hariso committed Jul 29, 2024
1 parent 1397d5d commit 16acc53
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/conduit/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ func (*Entrypoint) Flags(cfg *Config) *flag.FlagSet {

flags.StringVar(&cfg.DB.Type, "db.type", cfg.DB.Type, "database type; accepts badger,postgres,inmemory,sqlite")
flags.StringVar(&cfg.DB.Badger.Path, "db.badger.path", cfg.DB.Badger.Path, "path to badger DB")
flags.StringVar(&cfg.DB.Postgres.ConnectionString, "db.postgres.connection-string", cfg.DB.Postgres.ConnectionString, "postgres connection string")
flags.StringVar(
&cfg.DB.Postgres.ConnectionString,
"db.postgres.connection-string",
cfg.DB.Postgres.ConnectionString,
"postgres connection string, may be a database URL or in PostgreSQL keyword/value format",
)
flags.StringVar(&cfg.DB.Postgres.Table, "db.postgres.table", cfg.DB.Postgres.Table, "postgres table in which to store data (will be created if it does not exist)")
flags.StringVar(&cfg.DB.SQLite.Path, "db.sqlite.path", cfg.DB.SQLite.Path, "path to sqlite3 DB")
flags.StringVar(&cfg.DB.SQLite.Table, "db.sqlite.table", cfg.DB.SQLite.Table, "sqlite3 table in which to store data (will be created if it does not exist)")
Expand Down

0 comments on commit 16acc53

Please sign in to comment.