• pbair's avatar
    Add view-backed db model for postgres partitions · a39d9519
    pbair authored
    Add a new ActiveRecord model that can be used to query information about
    database partitions. The model is backed by a database view, and should
    reduce the number of ad-hoc queries to the Postgres system catalogs.
    a39d9519
postgres_partition_spec.rb 2.42 KB