Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with a connection string format #30

Open
dkalog opened this issue Feb 12, 2020 · 0 comments
Open

problem with a connection string format #30

dkalog opened this issue Feb 12, 2020 · 0 comments

Comments

@dkalog
Copy link

dkalog commented Feb 12, 2020

I am trying to use this utility with url escape beacuse my password has the @ character inside..

timescaledb-parallel-copy --db-name openmeteo --table enhydris_timeseries_data --connection postgres://postgres:6-@m4
dkalo@eridanos:~/timeseries_data$ timescaledb-parallel-copy --db-name openmeteo --table enhydris_timeseries_data --connection postgres%3A6-%40m4%26kvZUuBMR%0A_
--file alldata.csv --workers 2 --reporting-period 30s
panic: missing "=" after "postgres%3A6-%40m4%26kvZUuBMR%0A_" in connection info string"

but I receive panic..

goroutine 19 [running]:
github.com/jmoiron/sqlx.MustConnect(...)
/home/builder/go/src/github.com/jmoiron/sqlx/sqlx.go:650
main.processBatches(0xc00008a2c0, 0xc00008e240)
/home/builder/go/src/github.com/timescale/timescaledb-parallel-copy/cmd/timescaledb-parallel-copy/main.go:206 +0xd2f
created by main.main
/home/builder/go/src/github.com/timescale/timescaledb-parallel-copy/cmd/timescaledb-parallel-copy/main.go:124 +0x181
dkalo@eridanos:~/timeseries_data$ timescaledb-parallel-copy --db-name openmeteo --table enhydris_timeseries_data --connection postgres%3A6-%40m4%26kvZUuBMR%0A_ --file alldata.csv --workers 2 --reporting-period 30s
panic: missing "=" after "postgres%3A6-%40m4%26kvZUuBMR%0A_" in connection info string"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant