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

plrust should clean up artifacts #99

Closed
4 tasks
BradyBonnette opened this issue Oct 12, 2022 · 1 comment
Closed
4 tasks

plrust should clean up artifacts #99

BradyBonnette opened this issue Oct 12, 2022 · 1 comment
Labels

Comments

@BradyBonnette
Copy link
Contributor

In a conversation with @eeeebbbbrrrr in talking about #81 we discovered that there are some opportunities to have plrust clean up artifacts at various points

  • Adding callbacks on transaction abort and pre-commit to recursively delete crate directory
  • Adding callbacks for drop schema and drop function
  • Discuss target dir (e.g. shared compiled dependencies <root level scratch directory>/target)
  • Discuss using database directory for shared library storage (e.g. postgres' data_directory GUC) so that any built artifacts can also be dropped in the event of a drop database call
@eeeebbbbrrrr
Copy link
Contributor

We no longer leave anything on disk (outside of the target/ directory) after a successful compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants