diff --git a/postgresql/procedures/00_partitions_init.sql b/postgresql/procedures/00_partitions_init.sql index 84b8a05..156e6ae 100644 --- a/postgresql/procedures/00_partitions_init.sql +++ b/postgresql/procedures/00_partitions_init.sql @@ -1,7 +1,6 @@ -- ============================================================================ --- SCRIPT: 00_partitions_init.sql --- DESCRIPTION: Creates the 'partitions' schema and configuration table. --- Defines the structure for managing Zabbix partitioning. +-- Creates the 'partitions' schema and configuration table. +-- Defines the structure for managing Zabbix partitioning. -- ============================================================================ CREATE SCHEMA IF NOT EXISTS partitions; diff --git a/postgresql/procedures/01_auditlog_prep.sql b/postgresql/procedures/01_auditlog_prep.sql index b478c0c..1caef9b 100644 --- a/postgresql/procedures/01_auditlog_prep.sql +++ b/postgresql/procedures/01_auditlog_prep.sql @@ -1,7 +1,6 @@ -- ============================================================================ --- SCRIPT: 01_auditlog_prep.sql --- DESCRIPTION: Modifies the 'auditlog' table Primary Key to include 'clock'. --- This is REQUIRED for range partitioning by 'clock'. +-- Modifies the 'auditlog' table Primary Key to include 'clock'. +-- This is REQUIRED for range partitioning by 'clock'. -- ============================================================================ DO $$ diff --git a/postgresql/procedures/02_maintenance.sql b/postgresql/procedures/02_maintenance.sql index 9d47026..c51a3fd 100644 --- a/postgresql/procedures/02_maintenance.sql +++ b/postgresql/procedures/02_maintenance.sql @@ -1,6 +1,5 @@ -- ============================================================================ --- SCRIPT: 02_maintenance.sql --- DESCRIPTION: Core functions for Zabbix partitioning (Create, Drop, Maintain). +-- Core functions for Zabbix partitioning (Create, Drop, Maintain). -- ============================================================================ -- Function to check if a partition exists diff --git a/postgresql/procedures/03_enable_partitioning.sql b/postgresql/procedures/03_enable_partitioning.sql index 42570fe..acaf3b8 100644 --- a/postgresql/procedures/03_enable_partitioning.sql +++ b/postgresql/procedures/03_enable_partitioning.sql @@ -1,7 +1,6 @@ -- ============================================================================ --- SCRIPT: 03_enable_partitioning.sql --- DESCRIPTION: Converts standard Zabbix tables to Partitioned tables. --- WARNING: This renames existing tables to *_old. +-- Converts standard Zabbix tables to Partitioned tables. +-- WARNING: This renames existing tables to *_old. -- ============================================================================ DO $$ diff --git a/postgresql/procedures/04_monitoring_view.sql b/postgresql/procedures/04_monitoring_view.sql index 80139f1..f46ea11 100644 --- a/postgresql/procedures/04_monitoring_view.sql +++ b/postgresql/procedures/04_monitoring_view.sql @@ -1,6 +1,5 @@ -- ============================================================================ --- SCRIPT: 04_monitoring_view.sql --- DESCRIPTION: Creates a view to monitor partition status and sizes. +-- Creates a view to monitor partition status and sizes. -- ============================================================================ CREATE OR REPLACE VIEW partitions.monitoring AS