Fabrízio de Royes Mello 7e3e771d9f Fix compression policy on tables using INTEGER
Commit fffd6c2350f5b3237486f3d49d7167105e72a55b fixes problem related
to PortalContext using PL/pgSQL procedure to execute the policy.
Unfortunately this new implementation introduced a problem when we use
INTEGER and not BIGINT for the time dimension.

Fixed it by dealing correclty with the integer types: SMALLINT, INTEGER
and BIGINT.

Also refatored the policy compression procedure replacing the two
procedures `policy_compression_{interval|integer}` by a simple
`policy_compression_execute` casting dimension type dynamically.

Fixes #3773
2021-11-05 14:55:23 -03:00
..
2021-07-01 07:40:46 +02:00
2021-07-29 16:53:12 +03:00
2021-10-28 10:09:19 -03:00
2020-10-05 19:35:51 +02:00
2020-07-29 15:30:39 -04:00
2021-07-01 07:40:46 +02:00
2019-04-26 13:08:00 -04:00
2021-09-02 15:25:59 -04:00
2021-07-30 17:51:30 -04:00