---
title: "Updates for Supabase Functions"
description: "Supabase is shipping Database Webhooks in alpha, a convenience wrapper around Postgres triggers that fires asynchronous HTTP requests on INSERT, UPDATE and DELETE with a Realtime-style JSON payload."
url: "https://swe.quest/articles/updates-for-supabase-functions-78e26e9858c89367"
canonical: "https://supabase.com/blog/supabase-functions-updates"
source: "Supabase"
published: "2021-07-30"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["postgres","event-driven","serverless"]
---

# Updates for Supabase Functions

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2021-07-30, 6 min read, Announcement. Original: [https://supabase.com/blog/supabase-functions-updates](https://supabase.com/blog/supabase-functions-updates)

## Summary

Supabase is shipping Database Webhooks in alpha, a convenience wrapper around Postgres triggers that fires asynchronous HTTP requests on INSERT, UPDATE and DELETE with a Realtime-style JSON payload. It also adds dashboard editors for Postgres functions and triggers, and lays out a staged roadmap toward its own serverless Supabase Functions. The networking layer is pg\_net, a new Postgres extension that queues requests to a background worker using the libcurl multi interface. Queuing 10 GETs returned in 1.5 ms versus 3.5 s for the synchronous pgsql-http, and the extension handles over 300 requests per second.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Event-driven architecture](https://swe.quest/tags/event-driven.md) (Backend & APIs)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)

## Prerequisites

- PostgreSQL triggers ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- HTTP webhooks

## Keywords

Supabase, pg\_net, Database Webhooks, pgsql-http, libcurl, supabase-js

## Related posts

- [Sub-10ms Postgres queries for Vercel Edge Functions](https://swe.quest/articles/sub-10ms-postgres-queries-for-vercel-edge-functions-6bc9caef6fab65ca.md): Neon · 2023-07-10 · Medium · 3 min read · PostgreSQL, Serverless, CDN & edge, Performance engineering, TypeScript
  Neon's serverless Postgres driver now supports SQL-over-HTTP via fetch, and Neon's proxy adds opt-in experimental connection caching (\`fetchConnectionCache\`).
- [Neon Functions: backend logic next to your data](https://swe.quest/articles/neon-functions-backend-logic-next-to-your-data-fe00336dce0040ff.md): Neon · 2026-08-12 · Medium · 5 min read · Serverless, PostgreSQL, Real-time systems
  Neon Functions are long-running Node.js 24 compute deployed onto a Neon branch, in the same region and on the same infrastructure as its Lakebase Postgres database, with DATABASE\_URL and other Neon backend credentials injected automatically.
- [PgBouncer is now available in Supabase](https://swe.quest/articles/pgbouncer-is-now-available-in-supabase-7611d240679e4c4c.md): Supabase · 2021-04-02 · Medium · 4 min read · PostgreSQL, Serverless, Scaling
  Supabase now bundles PgBouncer, co-located on the same server as each new project's Postgres, so serverless functions that open a connection per request don't overwhelm the database.
- [HTTP vs. WebSockets: Which protocol for your Postgres queries at the Edge](https://swe.quest/articles/http-vs-websockets-which-protocol-for-your-postgres-queries-at-the-edge-25a9317092665f21.md): Neon · 2023-07-11 · Medium · 5 min read · PostgreSQL, Serverless, Performance engineering, CDN & edge, Networking
  Neon's serverless Postgres driver now supports SQL-over-HTTP alongside WebSockets, and benchmarks from Vercel Edge and Serverless functions (iad1 to us-east-1) show each wins in different cases.
- [Realtime: Broadcast from Database](https://swe.quest/articles/realtime-broadcast-from-database-42fdc3186500936d.md): Supabase · 2025-04-02 · Medium · 3 min read · Real-time systems, PostgreSQL, Replication
  Supabase Realtime's Broadcast from Database sends database change events to clients through Postgres triggers that write to a \`realtime.messages\` table.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
