Add pgwatch_generated comment to all SQL queries. And polish query code style

  • Added /* pgwatch_generated */ comment to all 55 SQL queries
    • Comment placed at the end of the first line of each query:
    • Regular queries: select ... /* pgwatch_generated */
    • CTEs: with cte_name as ( /* pgwatch_generated */
  • Fixed SQL style: lowercase keywords throughout (WITH, AS, WHEN, THEN, COUNT, MAX, COALESCE, GREATEST, VALUES, IS, OR, ON)
Edited by Nikolay Samokhvalov

Merge request reports

Loading