got stuck on something I assumed would be easy. I am trying to update an EPOCH column from year 2013 to 2015 for some test data.
I tried:
update cache set "Time" = "Time" + 31556926*2
where date_part('year', to_timestamp("Time")) = '2013';
But that did not only change the year, but also the other values, Month/Day and Time now are all messed up.
What is the correct syntax to get ONLY the year updated in a table please?