Skip to content

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