frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: pg_stream – incremental view maintenance for PostgreSQL in Rust

https://github.com/grove/pg-stream
3•grove•1h ago
pg_stream is a PostgreSQL 18 extension that keeps materialized views current incrementally — no external infrastructure, no separate streaming pipeline.

You define a stream table (a SQL query + a freshness bound) and the extension derives a delta query that processes only changed rows on each refresh cycle:

    SELECT pgstream.create_stream_table(
        'regional_totals',
        'SELECT region, SUM(amount) AS total, COUNT(*) AS cnt
         FROM orders GROUP BY region',
        '1m',
        'DIFFERENTIAL'
    );
One INSERT into a million-row table → pg_stream touches one row's worth of computation. Query it like any regular table.

How it works: - Trigger-based CDC captures row changes into buffer tables inside the same transaction (no wal_level = logical required) - A background worker walks a topological DAG of stream tables and fires refreshes in dependency order - The DVM engine (differential view maintenance, DBSP framework) rewrites your SQL into a delta query at definition time — JOINs, GROUP BY, CTEs, window functions, LATERAL, subqueries all supported - Stream tables can depend on other stream tables; a change to a base table cascades automatically through the entire chain

Written in Rust using pgrx. 1,300+ tests (unit + integration + E2E). dbt macro package included.

GitHub: https://github.com/grove/pg-stream Docs: https://grove.github.io/pg-stream

Comments

tudorg•1h ago
This sounds cool, adding to my list of things to try out.

One note, this shouldn't be confused with https://github.com/xataio/pgstream which does logical replication/CDC with DDL changes.

grove•1h ago
Thanks. Naming is hard, but we'll look into it.

Two New Functions (=Sheet, =Sheets) in Google Sheets

https://workspaceupdates.googleblog.com/2026/02/two-new-functions-in-google-sheets.html
1•gnabgib•44s ago•0 comments

OpenClaw Is the Right Idea with the Wrong Defaults

https://simpleminded.bot/blog/openclaw-security-defaults
1•infotropy•55s ago•0 comments

Nano Banana 2 – Free AI Image Generator and Editor – Gemini

https://nan0banana2.com
1•AI_kid1412•57s ago•0 comments

China developed by defying free trade – not embracing it

https://www.theglobalcurrents.com/p/china-developed-by-defying-free-trade
1•atomicnature•1m ago•0 comments

The Remote-Work Dream Isn't Dead, but It's Slipping Away

https://www.wsj.com/lifestyle/careers/the-remote-work-dream-isnt-dead-but-its-slipping-away-a19ae9e8
2•apparent•3m ago•0 comments

Can you survive on Mars? What science fiction gets wrong

https://www.space.com/entertainment/space-movies-shows/can-you-really-survive-on-mars-what-scienc...
1•macbookaries•3m ago•0 comments

Red Dwarf Creator Rob Grant Has Died

https://www.beyondthejoke.co.uk/content/17193/red-dwarf-rob-grant
1•rwmj•5m ago•1 comments

What Is Limerence?

https://livingwithlimerence.com/what-is-limerence/
1•dsego•6m ago•0 comments

How visible is your app to AI?

https://www.llmcheck.app/ai-visibility/
1•sansreal•6m ago•0 comments

Show HN: OpenBrowserClaw: Browser-native Claw assistant, zero infrastructure

https://www.openbrowserclaw.com/
1•sachaa•7m ago•0 comments

Show HN: Blazor Developer Tools: React DevTools-Style for Blazor

https://github.com/joe-gregory/blazor-devtools
1•joe-gregory•8m ago•0 comments

Ask HN: Why is Claude Code so much larger than Codex on Mac OS?

1•VWWHFSfQ•8m ago•0 comments

Fibermaxxing Is a Diet Trend Even Nutritionists Can Love

https://www.bloomberg.com/news/articles/2026-02-11/high-fiber-is-latest-health-trend-hitting-star...
1•brandonb•9m ago•0 comments

Show HN: Made First Android game using Codespaces and AI, now in AdMob purgatory

1•apocryphal•9m ago•0 comments

Welcome, Heterogeneous Intelligence

https://www.callosum.com/blog/welcome-heterogeneous-intelligence
1•jasondavies•11m ago•0 comments

Looks Like an Insider Bet on Aliens

https://www.theatlantic.com/technology/2026/02/kalshi-aliens-insider-trading/686144/
2•breve•11m ago•0 comments

Show HN: WeDoDev – SaaS development subscription for startups

https://www.wedodev.co/#pricing
2•AdHelpAI•12m ago•0 comments

iPhone and iPad Are First Consumer Devices Cleared for NATO Classified Data

https://www.macrumors.com/2026/02/26/nano-classified-data-iphone-ipad/
4•stalfosknight•13m ago•0 comments

Quo Vadis, LLM Benchmarks?

https://florianbrand.com/posts/benches-2026
3•Davidzheng•15m ago•0 comments

Nano Banana 2 Partially Passes the Seven-Legged Spider Test

https://will-keleher.com/posts/nano-banana-2-partially-passes-the-spider-test/
2•gcmeplz•17m ago•0 comments

FastFlowLM (FLM) – Unlock Ryzen AI NPUs

https://github.com/FastFlowLM/FastFlowLM
3•jakogut•20m ago•1 comments

Prepaid vs. Postpaid Mobile: The cost breakdown nobody talks about

2•huntsmans•20m ago•3 comments

Banks decline to finance LNG project in Papua New Guinea

https://news.mongabay.com/short-article/2026/02/banks-decline-to-finance-lng-project-in-papua-new...
3•PaulHoule•21m ago•0 comments

Cronboard: A terminal-based dashboard for managing cron jobs

https://github.com/antoniorodr/cronboard
2•theanonymousone•22m ago•0 comments

Adventures in Oddware: Using the Avegant Glyph (Retinal Projection) in 2026 [video]

https://www.youtube.com/watch?v=-BJnhx3ebno
2•tuhtah•22m ago•1 comments

America, and probably the world, stands on a precipice

https://garymarcus.substack.com/p/america-and-probably-the-world-stands
7•MindGods•22m ago•0 comments

TSMC's N2 Node Is Almost Booked Out for the Next Two Years

https://www.culpium.com/p/tsmcs-n2-node-is-almost-booked-out
2•ilamont•22m ago•0 comments

Storing Food

https://www.jefftk.com/p/storing-food
1•speckx•23m ago•0 comments

I Joined Firetiger as an AI Skeptic

https://blog.firetiger.com/i-joined-firetiger-as-an-ai-skeptic/
1•achille-roussel•24m ago•1 comments

Save valuable tokens using Make

https://edleeman.co.uk/notes/saving-tokens-with-quiet-makefiles/
2•ed1727•26m ago•0 comments