Skip to content

Add aggregation option based on past partitions#121

Open
meatballhat wants to merge 4 commits intomasterfrom
meat-aggregate-partitions
Open

Add aggregation option based on past partitions#121
meatballhat wants to merge 4 commits intomasterfrom
meat-aggregate-partitions

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