Is this a bug in Sequel::Postgres::Database#copy_table? #2065
yugoPanorama
started this conversation in
General
Replies: 1 comment 1 reply
-
You are trying to issue a query while iterating over the results of a COPY on the same connection. You should not do that. You can do |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I do this:
then I get a
PG::Error: no COPY in progress (Sequel::DatabaseDisconnectError)
. If I remove themethod_that_runs_some_sequel_query
, all seems fine.Not sure if this is expected.
Beta Was this translation helpful? Give feedback.
All reactions