By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
| time | location | temperature | humidity |
|---|---|---|---|
| 2017-07-28 12:42:42.846621+01 | office | 60.1 | 50 |
ERROR: duplicate key value violates unique constraint "conditions_time_location_key"
DETAIL: Key ("time", location)=(2017-07-28 12:42:42.846621+01, office) already exists.
| time | location | temperature | humidity |
|---|---|---|---|
| 2017-07-28 12:42:42.846621+01 | office | 60.1 | 50 |
1 rows affected
| time | location | temperature | humidity |
|---|---|---|---|
| 2017-07-28 12:42:42.846621+01 | office | 60.1 | 70.2 |