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

Question: binary copy and dynamic types #1190

Open
jamessewell opened this issue Nov 21, 2024 · 6 comments
Open

Question: binary copy and dynamic types #1190

jamessewell opened this issue Nov 21, 2024 · 6 comments

Comments

@jamessewell
Copy link

Very quick question: I want to perform a binary copy based on the types in a table I inspect at run time, is this possible?

@sfackler
Copy link
Owner

What do you want to do with the data you are copying?

@jamessewell
Copy link
Author

jamessewell commented Nov 21, 2024 via email

@jamessewell
Copy link
Author

jamessewell commented Nov 21, 2024 via email

@sfackler
Copy link
Owner

You may be better off using one of the textual copy formats to avoid having to do that conversion.

@jamessewell
Copy link
Author

jamessewell commented Nov 22, 2024 via email

@sfackler
Copy link
Owner

If you can transform your data into the Postgres binary copy format it's possible. I don't know enough about your workflow to tell you whether or not that's possible.

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

2 participants