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

detach archive from pgmq extension #117

Closed
ChuckHend opened this issue Sep 15, 2023 · 3 comments · Fixed by #134
Closed

detach archive from pgmq extension #117

ChuckHend opened this issue Sep 15, 2023 · 3 comments · Fixed by #134
Labels
enhancement New feature or request

Comments

@ChuckHend
Copy link
Member

Provide the ability to "detach" an archive table from the extension. this would prevent the archive table from being dropped when drop extension pgmq is run.

pseudo

fn detach_archive(queue_name: str)
   sql::exec( alter extension pgmq drop table pgmq.{prefix}queue_name  )
   
@ChuckHend ChuckHend added the enhancement New feature or request label Sep 15, 2023
@v0idpwn
Copy link
Collaborator

v0idpwn commented Sep 16, 2023

Suggestion: allow detaching queues as well.

@v0idpwn
Copy link
Collaborator

v0idpwn commented Sep 16, 2023

This has a problem: if the schema belongs to pgmq and is dropped with the pgmq extension, we would need to move the table.

@v0idpwn
Copy link
Collaborator

v0idpwn commented Sep 16, 2023

Update: seems like the schema isn't dropped, different from the tables, etc.

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

Successfully merging a pull request may close this issue.

2 participants