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

Add aggregation option based on past partitions #121

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

meatballhat
Copy link
Contributor

so that cleanup can be performed an any straggling log parts prior to partition
removal.

so that cleanup can be performed an any straggling log parts prior to partition
removal.
@meatballhat meatballhat self-assigned this May 18, 2017
partitions = db[
%[SELECT partman.show_partitions('public.log_parts')]
].map do |row|
row.fetch(:show_partitions).gsub(/[()]/, '').split(',').last

This comment was marked as spam.

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

Successfully merging this pull request may close these issues.

4 participants