# Supabase — Adding Async Streaming to Postgres Foreign Data Wrappers

- Company: Supabase (supabase.com)
- Announced: 2025-12-04
- Category: capability-change
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://supabase.com/blog/adding-async-streaming-to-pg-fdw
- Record: https://forck.live/items/21316-adding-async-streaming-to-postgres-foreign-data-wrappers
- Subject: Supabase

Supabase added asynchronous streaming to its ClickHouse Foreign Data Wrapper using Rust's async runtime and a bounded channel, allowing Postgres to start returning results as soon as the first rows arrive and keeping memory usage predictable even for billion-row scans. The pattern is built into Supabase Wrappers and will be rolled out to connectors for BigQuery, Snowflake, S3, and other backends.

## Evidence

Verbatim from https://supabase.com/blog/adding-async-streaming-to-pg-fdw:

> A background async task fetches rows from ClickHouse incrementally, as they arrive over the network. These rows are passed to the Postgres backend through a bounded, size-limited channel (default capacity: 1024 rows). The FDW consumes rows from this channel one at a time, converting and emitting them to Postgres without buffering the full result set in memory .

---

Record: https://forck.live/items/21316-adding-async-streaming-to-postgres-foreign-data-wrappers
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
