src: |
  SELECT 0 AS indicateur_id,
      ''::text AS indicateur_code,
      to_char(p_calendrier.date::timestamp with time zone, 'YYYYMMDD'::text) AS jour,
      p_calendrier.date AS date_reference,
      (date_part('day'::text, p_calendrier.date)::text || ' '::text) ||
          CASE date_part('month'::text, p_calendrier.date)
              WHEN 1 THEN 'Jan'::text
              WHEN 2 THEN 'Fev'::text
              WHEN 3 THEN 'Mars'::text
              WHEN 4 THEN 'Avr'::text
              WHEN 5 THEN 'Mai'::text
              WHEN 6 THEN 'Juin'::text
              WHEN 7 THEN 'Juil'::text
              WHEN 8 THEN 'Aout'::text
              WHEN 9 THEN 'Sep'::text
              WHEN 10 THEN 'Oct'::text
              WHEN 11 THEN 'Nov'::text
              WHEN 12 THEN 'Dec'::text
              ELSE date_part('month'::text, p_calendrier.date)::text
          END AS jour_texte,
      0 AS value,
      0 AS value_cum,
      0 AS value_cum12
     FROM base.p_calendrier;