sequel_postgresql_triggers 1.6.0 Released #16
jeremyevans
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
sequel_postgresql_triggers 1.6.0 has been released!
Counter and sum caches now handle
INSERT ... ON CONFLICT DO NOTHING
. If you already have defined counter or sum cache triggers using this library prior to 1.6.0, and want them to work correctly when usingINSERT ... ON CONFLICT DO NOTHING
, you should drop the triggers and then readd them.The reason this wasn't handled originally was that these triggers were originally developed in 2008, and ON CONFLICT support was not added to PostgreSQL until 2016.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions