Replies: 1 comment 1 reply
-
|
I'm interested in supporting more CopyFrom features. However, I have not yet figured out an interface I am happy with. See #1369 (comment) for some of the options. Also, see #2190 and #1369. |
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.
-
The current version of
CopyFromdoesn't allow us to pass in any options to influence the copy command. Postgres has a variety of options that can be configured during a copy call but we can't specify any of these while executing CopyFrom.While this generally isn't a problem, while using Yugabyte as a database, there are some options that we need passed.
Currently we use a fork of pgx
v5.0.2but it would be nice to finally use the latest without having to maintain this extra code.We've done it by introducing a new method
CopyFromWithOptionswhich allows some options to be configured. While ours has a static list of options set, we'd probably need it to be a bit more flexible for this repo.Beta Was this translation helpful? Give feedback.
All reactions