-
Notifications
You must be signed in to change notification settings - Fork 42
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
COPY DATABASE fails on v1.0.0 and segfaults on v1.1.0 #260
Comments
Thanks for the report! I've looked into this and I could reproduce an issue when exporting a database that has many tables (>100s). I've pushed a fix for this in duckdb/duckdb#13889. Could you confirm if your database has a lot of tables, and perhaps retry with the latest nightly build? |
Thanks. I tried downloading the nightly build from your installation page, but it gives me a link:
which yields an archive with a DuckDB binary dated 28th August which says it is |
My database has 62 tables. |
One thing weird about the database is that most of the tables are empty. |
Perhaps you can use the Python client? This should give you yesterdays' nightly build:
If it still reproduces with the latest nightly - could you perhaps try to remove a few of the tables and seeing if the problem persists? You could also pass a |
Tried using |
What happens?
I can connect to and copy tables from a PostgreSQL (running in Docker on my laptop), but if I try to copy the database I get a segmentation fault on v1.1.0, leaving behind a
.wal
file.On v1.0.0 I get
Not implemented Error: Entry type Index not supported in PhysicalCopyDatabase
.I don't imagine the steps I've shown to reproduce it will be much help. Let me know what I can do to help you narrow it down.
To Reproduce
OS:
MacOS
PostgreSQL Version:
12.19
DuckDB Version:
1.1.0
DuckDB Client:
duckdb
Full Name:
James Gilbert
Affiliation:
Wellcome Sanger Institute
Have you tried this on the latest
main
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: