Skip to content
Snippets Groups Projects
Select Git revision
  • 46298110ca718a4878b7f979fa2eeda2845a68d4
  • master default protected
  • fix-sync-s3
  • aiv
  • aiv-fixes
  • fix-build-ubuntu
  • L2SS-2331
  • move-secrets
  • remove-ansible-2
  • add-remaining-dutch-stations
  • nomad-server-name-change
  • L2SS-1970-apsct-lol
  • L2SS-2347-dithering-dont-change-power-freq
  • L2SS-2347-dithering-is-global-setting
  • refactor-control-power-properties
  • update-lcu-rollout-procedure
  • test-pytango-10.0.3
  • revert-cs032-ccd-ip
  • deploy-components-parallel
  • L2SS-2357-fix-ruff
  • sync-up-with-meta-pypcc
  • v0.56.2-4 protected
  • v0.56.2-3 protected
  • v0.56.2-2 protected
  • v0.57.2-3 protected
  • v0.57.2-2 protected
  • v0.57.2-1 protected
  • v0.57.2 protected
  • v0.57.1-1 protected
  • v0.57.1 protected
  • v0.57.0 protected
  • v0.56.7 protected
  • v0.56.6 protected
  • v0.56.5-5 protected
  • v0.56.5-4 protected
  • v0.56.5-3 protected
  • v0.56.5-2 protected
  • v0.56.5.2 protected
  • v0.56.5-1 protected
  • v0.56.5.1 protected
  • v0.56.5 protected
41 results

10_hdb_ext_reorder_policy.sql

Blame
  • stedif's avatar
    L2SS-647: add timescaledb extensions and bug fix
    Stefano Di Frischia authored
    18a2e8e4
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    10_hdb_ext_reorder_policy.sql 4.36 KiB
    -- -----------------------------------------------------------------------------
    -- This file is part of the hdbpp-timescale-project
    --
    -- Copyright (C) : 2014-2019
    --   European Synchrotron Radiation Facility
    --   BP 220, Grenoble 38043, FRANCE
    --
    -- libhdb++timescale is free software: you can redistribute it and/or modify
    -- it under the terms of the Lesser GNU General Public License as published by
    -- the Free Software Foundation, either version 3 of the License, or
    -- (at your option) any later version.
    --
    -- libhdb++timescale is distributed in the hope that it will be useful,
    -- but WITHOUT ANY WARRANTY; without even the implied warranty of
    -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the Lesser
    -- GNU General Public License for more details.
    --
    -- You should have received a copy of the Lesser GNU General Public License
    -- along with libhdb++timescale.  If not, see <http://www.gnu.org/licenses/>.
    -- -----------------------------------------------------------------------------
    
    \c hdb
    -- Reorder chunk policy
    
    SELECT add_reorder_policy('att_scalar_devboolean', 'att_scalar_devboolean_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devdouble', 'att_scalar_devdouble_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devfloat', 'att_scalar_devfloat_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devencoded', 'att_scalar_devencoded_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devenum', 'att_scalar_devenum_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devstate', 'att_scalar_devstate_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devstring', 'att_scalar_devstring_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devuchar', 'att_scalar_devuchar_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devulong', 'att_scalar_devulong_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devulong64', 'att_scalar_devulong64_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devlong64', 'att_scalar_devlong64_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devlong', 'att_scalar_devlong_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devushort', 'att_scalar_devushort_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_scalar_devshort', 'att_scalar_devshort_att_conf_id_data_time_idx', if_not_exists => true);
    
    SELECT add_reorder_policy('att_array_devboolean', 'att_array_devboolean_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devdouble', 'att_array_devdouble_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devfloat', 'att_array_devfloat_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devencoded', 'att_array_devencoded_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devenum', 'att_array_devenum_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devstate', 'att_array_devstate_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devstring', 'att_array_devstring_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devuchar', 'att_array_devuchar_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devulong', 'att_array_devulong_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devulong64', 'att_array_devulong64_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devlong64', 'att_array_devlong64_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devlong', 'att_array_devlong_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devushort', 'att_array_devushort_att_conf_id_data_time_idx', if_not_exists => true);
    SELECT add_reorder_policy('att_array_devshort', 'att_array_devshort_att_conf_id_data_time_idx', if_not_exists => true);