-
Notifications
You must be signed in to change notification settings - Fork 161
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
pg_restore: error: could not execute query #1875
Comments
I've removed --exit-on-error flag and got even more:
|
You'll need to start from a clean database. If you're using the
|
But I do... I drop everything before start. |
How are you doing that? |
./scripts/postgresql-setup.sh --dropdb However, there is actually a The issue is that all these errors occur with PostgreSQL 17, but they are absent when I use PostgreSQL 16. |
Interesting find, I will try to reproduce |
But it is still possible to migrate from pg16 to pg17 with |
Since you're no longer blocked, and PostgreSQL 17.0 is not yet available in nixpkgs, so I'll hold onto this until it's ready |
OS
Your OS: Ubuntu 22
Versions
The
db-sync
version (egcardano-db-sync --version
): 13.5.0.2PostgreSQL version: 17
Build/Install Method
The method you use to build or install
cardano-db-sync
: prebuilt binariesRun method
The method you used to run
cardano-db-sync
(eg Nix/Docker/systemd/none): noneAdditional context
When I'm trying to restore the last snapshot, I see the error:
Problem Report
It looks like there is missed "IF NOT EXISTS".
As result - public mainnet snapshots-out-of-the-box are useless now...
The text was updated successfully, but these errors were encountered: