Skip to content

Use same drop setup on install and uninstall #87

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

Merged
merged 3 commits into from
Feb 21, 2025
Merged

Conversation

tobyhede
Copy link
Contributor

@tobyhede tobyhede commented Feb 20, 2025

Generate a single sql file containing all of the drops and use this for both install and uninstall.

@@ -184,8 +184,8 @@ DROP OPERATOR IF EXISTS = (ore_64_8_index_v1, ore_64_8_index_v1);

CREATE OPERATOR = (
PROCEDURE="ore_64_8_v1_eq",
LEFTARG=ore_64_8_v1,
RIGHTARG=ore_64_8_v1,
LEFTARG=ore_64_8_index_v1,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The drop failure was hiding that the type name had changed

Copy link
Contributor

@auxesis auxesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @tobyhede.

@tobyhede tobyhede merged commit ed460fc into main Feb 21, 2025
4 checks passed
@tobyhede tobyhede deleted the improve-uninstall branch February 21, 2025 02:14
CDThomas added a commit that referenced this pull request Feb 25, 2025
This change reverts this repo back to 01dcc24.

The changes reverted include commits from:
- #86
- #87

We mostly want to revert the changes in #86 (since they aren't
working as intended with Proxy), but #87 is also included since it's
more recent (and also includes some ORE-related changes that
would be tedious to untangle).

Since there aren't many changes after #86, the most pragmatic
option is to revert to the last known-good state and redo the
install/uninstall changes by hand on top of that.

Commands used to revert:
```
git reset --hard 01dcc24
git reset --soft ed460fc
```

This change doesn't use `git revert` because there were > 20 commits
to revert and merge commits also don't play well with `git revert`.
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.

2 participants