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

Remote attach: default to READ_ONLY, and throw on READ_WRITE attaches #1764

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

carlopi
Copy link
Collaborator

@carlopi carlopi commented Jun 11, 2024

Currently READ_WRITE can't work due to a limitation that files can only be either READ or WRITE.

Default to READ_ONLY (as it done by upstream duckdb) and throw on READ_WRITE remote attach.

This cleans up ATTACH semantic, uniforming behaviour between native duckdb and duckdb-wasm.

@carlopi carlopi merged commit 8ec2e46 into duckdb:main Jun 11, 2024
15 checks passed
@carlopi carlopi deleted the remote_attach branch June 11, 2024 08:59
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

Successfully merging this pull request may close these issues.

1 participant