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

pq: copyin statement has already been closed #74

Open
jlev opened this issue Jan 17, 2021 · 1 comment
Open

pq: copyin statement has already been closed #74

jlev opened this issue Jan 17, 2021 · 1 comment

Comments

@jlev
Copy link

jlev commented Jan 17, 2021

Trying to import a relatively large (~1.8m row, 1.72 GiB) jsonl file, I get 1 row imported and then this error:
pq: copyin statement has already been closed

Seems like it might be related to this change released in lib/pq 1.9
lib/pq@83c4f41
per lib/pq#452

I've upgraded my fork to use lib/pq 1.9.0, but am getting the same error. Anyone here have a working build with current dependencies?

@jlev
Copy link
Author

jlev commented Jan 20, 2021

I switched to using running the copy statements via a psycopg2 cursor directly, but this problem remains.

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