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

Invalid database scheme with \copy #495

Open
bobvanderlinden opened this issue Nov 15, 2024 · 0 comments
Open

Invalid database scheme with \copy #495

bobvanderlinden opened this issue Nov 15, 2024 · 0 comments

Comments

@bobvanderlinden
Copy link

bobvanderlinden commented Nov 15, 2024

When doing the following:

=> \cset MSSQL mssql://USER:PASS@HOST:PORT/DATABASE
=> \copy MSSQL csvq://. 'YYY'
error: invalid database scheme

Note that the following works fine:

=> \cset MSSQL mssql://USER:PASS@HOST:PORT/DATABASE
=> \c MSSQL

As does using copy without the connection variable:

=> \copy mssql://USER:PASS@HOST:PORT/DATABASE csvq://. 'YYY'

Somehow \copy handles connection variables differently from \c.
What could be the issue?

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