Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: Update images for the trigger without superuser blogpost (#36004)

Ivan Vasilov9ee5779a30ed
diff --git a/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx b/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx
index 63e2bf3823d..54c976df382 100644
--- a/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx
+++ b/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx
@@ -4,8 +4,8 @@ description: Using Postgres Hooks to allow regular users to create event trigger
author: steve_chavez
author_url: https://github.com/steve-chavez
author_image_url: https://github.com/steve-chavez.png
-image: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png
-thumb: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png
+image: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png
+thumb: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png
categories:
- postgres
tags:
@@ -24,7 +24,14 @@ In this blog post, we’ll explain how we do this in the `supautils` extension,
## Privileged Role
-![utility hook](/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.png)
+<Img
+ wide
+ alt="Utility Hook"
+ src={{
+ dark: '/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png',
+ light: '/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png',
+ }}
+/>
The core of `supautils` is the “privileged role”, which is a role that serves as proxy to superuser. It provides a safe subset of superuser capabilities and it’s accessible to regular users.
@@ -61,7 +68,14 @@ And once a superuser trips on the event trigger, it will fire with its privilege
## Skipping Event Triggers
-![fmgr hook](/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.png)
+<Img
+ wide
+ alt="FMGR Hook"
+ src={{
+ dark: '/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png',
+ light: '/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png',
+ }}
+/>
A solution would be skipping user Event Triggers for superusers.
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png
new file mode 100644
index 00000000000..4380846473d
Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-light.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-light.png
new file mode 100644
index 00000000000..c990cf5f175
Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-light.png differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png
deleted file mode 100644
index 0c1b0916883..00000000000
Binary files a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png and /dev/null differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png
new file mode 100644
index 00000000000..198752cfa8d
Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png
new file mode 100644
index 00000000000..c7aef0e80bf
Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.png
deleted file mode 100644
index b862e3718a2..00000000000
Binary files a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.png and /dev/null differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png
new file mode 100644
index 00000000000..da0ebd8faa4
Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png
new file mode 100644
index 00000000000..405aa34561c
Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png differ
diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.png
deleted file mode 100644
index 9b90a72440e..00000000000
Binary files a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.png and /dev/null differ
diff --git a/apps/www/public/planetpg-steve_chavez-rss.xml b/apps/www/public/planetpg-steve_chavez-rss.xml
index 0cf42092594..ed086a19ba2 100644
--- a/apps/www/public/planetpg-steve_chavez-rss.xml
+++ b/apps/www/public/planetpg-steve_chavez-rss.xml
@@ -5,9 +5,9 @@
<link>https://supabase.com/blog</link>
<description>Latest Postgres news from Steve Chavez at Supabase</description>
<language>en</language>
- <lastBuildDate>Fri, 16 Dec 2022 00:00:00 -0700</lastBuildDate>
+ <lastBuildDate>Thu, 08 May 2025 00:00:00 -0700</lastBuildDate>
<atom:link href="https://supabase.com/planetpg-steve_chavez-rss.xml" rel="self" type="application/rss+xml"/>
-<item>
+ <item>
<guid>https://supabase.com/blog/event-triggers-wo-superuser</guid>
<title>PostgreSQL Event Triggers without superuser access</title>
<link>https://supabase.com/blog/event-triggers-wo-superuser</link>
diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xml
index ff71e142a6f..a90e31bf251 100644
--- a/apps/www/public/rss.xml
+++ b/apps/www/public/rss.xml
@@ -5,11 +5,18 @@
<link>https://supabase.com</link>
<description>Latest news from Supabase</description>
<language>en</language>
- <lastBuildDate>Fri, 04 Apr 2025 00:00:00 -0700</lastBuildDate>
+ <lastBuildDate>Mon, 26 May 2025 00:00:00 -0700</lastBuildDate>
<atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>
+ <item>
+ <guid>https://supabase.com/blog/open-data-standards-postgres-otel-iceberg</guid>
+ <title>Open Data Standards: Postgres, OTel, and Iceberg</title>
+ <link>https://supabase.com/blog/open-data-standards-postgres-otel-iceberg</link>
+ <description>Replace custom CRUD endpoints, reduce infrastructure complexity, and accelerate product delivery.</description>
+ <pubDate>Mon, 26 May 2025 00:00:00 -0700</pubDate>
+</item>
<item>
<guid>https://supabase.com/blog/simplify-backend-with-data-api</guid>
- <title>Simplify back-end complexity with Supabase Data APIs</title>
+ <title>Simplifying back-end complexity with Supabase Data APIs</title>
<link>https://supabase.com/blog/simplify-backend-with-data-api</link>
<description>Replace custom CRUD endpoints, reduce infrastructure complexity, and accelerate product delivery.</description>
<pubDate>Sat, 17 May 2025 00:00:00 -0700</pubDate>