Foreign key on timezone with current utc offset

We have a table timezones which is essentially a copy of the pg_timezone_names view. After the world changed the clocks past weekend, the utc_offset in our table is not correct anymore. Since the pg_timezone_names view is just a view, we cannot reference it. Ofc one option would be a cron job that runs twice a year and refreshes the copy. Is there any way to just reference a pg-provided table that contains the tz name with its current utc_offset instead?
68747470733a2f2f692e7974696d672e636f6d2f76692f2d3577706d2d6765734f592f6d617872657364656661756c742e6a7067.jpeg
Was this page helpful?