chore: Update images for the trigger without superuser blogpost (#36004)
Update images for the trigger without superuser blogpost.
No files matched your search
@@ -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
|
||||
|
||||

|
||||
<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
|
||||
|
||||

|
||||
<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.
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||