Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
toanalien authored and JamesGuthrie committed Oct 11, 2023
1 parent da75694 commit 8b001c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Drop the existing '"two_week.cpu"' table in 'targetdb' if exists, create if not
$ outflux migrate benchmark two_week.cpu \
> --input-user=test \
> --input-pass=test \
> --output-con='dbname=targetdb user=test pass=test'\
> --output-conn='dbname=targetdb user=test pass=test'\
> --schema-strategy=DropAndCreate
```

Expand All @@ -190,7 +190,7 @@ $ ./outflux migrate benchmark cpu mem \

The connection parameters to the TimescaleDB instance can be passed to Outflux in several ways. One is through the Postgres Environment Variables. Supported environment variables are: `PGHOST, PGPORT, PGDATABASE, PGUSER, PGPASSWORD, PGSSLMODE, PGSSLCERT, PGSSLKEY, PGSSLROOTCERT, PGAPPNAME, PGCONNECT_TIMEOUT`. If they are not specified defaults used are: host=localhost, dbname=postgres, pguser=$USER, and sslmode=disable.

The values of the enviroment variables can be **OVERRIDEN** by specifying the '--output-con' flag when executing Outflux.
The values of the enviroment variables can be **OVERRIDEN** by specifying the '--output-conn' flag when executing Outflux.

The connection string can be in the format URI or DSN format:
* example URI: "postgresql://username:password@host:port/dbname?connect_timeout=10"
Expand Down Expand Up @@ -220,4 +220,4 @@ converted.

This is also an issue even if you select a time interval in which a field has a consistent type, but exists as a different type
in a shard outside of that interval. This is because the `SHOW FIELD KEYS FROM measurement_name` doesn't accept a time interval
for which you would be asking
for which you would be asking

0 comments on commit 8b001c8

Please sign in to comment.