ALTER TABLE consumption_energy_measurements DROP CONSTRAINT consumption_energy_measurements_pk;
ALTER TABLE consumption_energy_measurements ADD CONSTRAINT consumption_energy_measurements_pkey PRIMARY KEY ("timestamp",addr,var,meter);