Replies: 1 comment 2 replies
-
Are you using RusTLS? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a pretty standard setup: a
metrics.csv
file that contains about 90MB of data and a TimescaleDB (so in reality postgres) database where I want to copy this data to.I created a table on the DB like this:
The metrics.csv lines are formatted like:
2023-05-31 23:59:59.043264+00,13,1.78
The code I have tried to use to copy this data to the db is:
This works fine up to the
read_from
call. When monitoring the network, it seems nothing is being sent, so this code just hangs forever.Is there something else I need to do? When using the
psql
terminal the\COPY
command works immediately.Any help is appreciated, the COPY command would be extremely beneficial to the system I am building.
Beta Was this translation helpful? Give feedback.
All reactions