-
Notifications
You must be signed in to change notification settings - Fork 65
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
SQL error while deleting from table with InetAddressField. #115
Comments
I've never seen anything like that. Seems like a postgres-level thing. Have you seen https://stackoverflow.com/questions/44952432/delete-query-in-postgres-hangs-indefinitely ? |
@jimfunk , yes, I've seen the stackoverflow post, but the solution did not work for me :( Thanks a lot for your reply, I'll investigate further. |
I've removed the GistIndex from the Meta class, then created index manually as specified on stackoverflow and now I'm able to delete addresses. |
Odd. Perhaps it has something to do with the how Django sets up the Gist index. That would not be part of this project. |
Hello,
could you please help me identify what's the problem with my setup? I'm running Django version 3.2.9 with the models presented below. Been able to insert Addresses to Postgresql database, but when I'm trying to delete Addresses it hangs up indefinitely and throws the following error when CTRL+C is pressed:
Models:
The text was updated successfully, but these errors were encountered: