<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Trigger on ads' corner</title><link>https://andreas.scherbaum.la/tags/trigger/</link><description>Recent content in Trigger on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 10 Apr 2023 17:58:00 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/trigger/index.xml" rel="self" type="application/rss+xml"/><item><title>PGSQL Phriday #007 – Triggers for tracking changes in a table</title><link>https://andreas.scherbaum.la/post/2023-04-10_pgsql-phriday-007-triggers-for-tracking-changes-in-a-table/</link><pubDate>Mon, 10 Apr 2023 17:58:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2023-04-10_pgsql-phriday-007-triggers-for-tracking-changes-in-a-table/</guid><description>&lt;p&gt;This month&amp;rsquo;s &lt;a href="https://www.pgsqlphriday.com/"&gt;#PGSQLPhriday&lt;/a&gt; is hosted by Lætita Avrot, and she asks about &lt;a href="https://mydbanotebook.org/post/triggers/"&gt;triggers&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;History time. Shortly after I started using &lt;em&gt;PostgreSQL&lt;/em&gt;, I had a need to track changes in tables. Back then - this was the early version 7.x days - there was no such option available. I set out to write a tool for it. The logical choice to do that was to pick triggers to implement this. Today the world is different, &lt;em&gt;PostgreSQL&lt;/em&gt; gained replication, and along with this, one can hook tools into the replication and stream all the changes. Back then there was no replication.&lt;/p&gt;</description></item><item><title>MySQL and real trigger support</title><link>https://andreas.scherbaum.la/post/2006-11-18_mysql-and-real-trigger-support/</link><pubDate>Sat, 18 Nov 2006 18:01:20 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2006-11-18_mysql-and-real-trigger-support/</guid><description>&lt;p&gt;I just answered a question on the &lt;em&gt;Usenet&lt;/em&gt; about triggers in &lt;em&gt;MySQL&lt;/em&gt; and discovered something very scary:&lt;/p&gt;</description></item></channel></rss>