Buscar

Objetos taggeado con: Postgres

Build myself a little event stream library for #SSE and #django. It is totally based on #postgres and LISTEN/NOTIFY. So far, it feels pretty cool and scales surprisingly well for my normal workloads.

django-pg-sse.readthedocs.io/en/latest/

en respuesta a Fossery Tech

Show HN: Mason – a lightweight Postgres read-replica, built on columnar storage

Link: masondata.ai/
Discussion: news.ycombinator.com/item?id=50630294

#postgres

Postgres 19 is out, and it's available on Neon and Databricks Lakebase

Link: databricks.com/blog/postgresql-19-available-lakebase
Discussion: news.ycombinator.com/item?id=50568643

#postgres

The media in this post is not displayed to visitors. To view it, please go to the original post.

#PostgreSQL 19 is out, & pgEdge packages shipped the same day, Spock included. ✨

At a glance:
→ REPACK CONCURRENTLY rebuilds a bloated table while writes keep flowing
→ pg_plan_advice & pg_stash_advice pin a plan you trust
→ ALL SEQUENCES drops manual setval from migrations
→ Autovacuum goes after the neediest tables first

Thanks to every contributor who shipped it!

Release notes: 📖 postgresql.org/docs/19/release-19.html
Try it on Starfleet: 👉 pgedge.com/products/starfleet

#Postgres #OpenSource #Database

where does a user's balance live in your fintech app?

if it's one column you update in place, support can't answer "why is it 40 lower than yesterday"

safer: an append-only ledger. every deposit, fee and refund is its own row, never edited. balance = sum of rows. mistakes get a correcting entry, not an UPDATE

#Fintech #Payments #Postgres #SoftwareArchitecture

The media in this post is not displayed to visitors. To view it, please go to the original post.

Lock down app egress in Kubernetes: allow only CoreDNS for resolution and PostgreSQL on 5432 using namespace/pod selectors and port-level filtering. #kubernetes #coredns #postgres valtersit.com/vault/application-egress-isolation-for-coredns-and-postgresql-data-6b8872/
The media in this post is not displayed to visitors. To view it, please go to the original post.

On day 2 of Cloud Native Denmark, Josh Lee presented a session with Graziano Casto (Akuity) on building a semantic #observability mesh, a searchable, reliable source of truth for your systems, and Gabriele Bartolini presented his keynote "Beyond the DBaaS Trap: Achieving Data Sovereignty With Kubernetes and CloudNativePG".

Thanks for all the great conversations at the booth and in the hallway, vi ses næste år! #Postgres

Reliable agentic analytics needs three things working together: a foundation model that can plan and generate queries, a semantic layer that provides a governed business view of the data, and an agent runtime that hosts the agent and manages identity.

Find out how to build a semantic layer for agentic AI using EDB Postgres® AI, running a Strands Agents agent on Amazon #Bedrock #AgentCore that queries the layer to answer customer 360 (C360) questions: enterprisedb.com/blog/build-semantic-layer-agentic-ai-edb-postgres-ai-and-amazon-bedrock-agentcore #Postgres

We can't wait to hear all the stories from the first edition of PGConf Poland! Our Bruce Momjian, Piotr Kolodziej, and Torsten Steinbach have sessions on the schedule.

We already collected our slides and some pictures on our event page: enterprisedb.com/event/pgconfpl-poland
@pgconfpl #Postgres

On our podcast we interviewed Michael Stonebraker, Turing Award Winner and Adjunct Professor Emeritus at MIT, who led the original #Postgres project, on why private enterprise data defeats today’s models, how to split the work between LLMs and the database, and what it will take for enterprises to trust AI agents: enterprisedb.com/ai-data-horizons/stonebraker

60-second Supabase check. Paste this in the SQL Editor:

select relname from pg_class where relnamespace = 'public'::regnamespace and relkind = 'r' and not relrowsecurity;

Every table it lists has RLS off. If anon still has its grants (the default on older projects), anyone with your public key can read, insert, update and delete rows.

Fix: alter table public.x enable row level security; then add policies scoped to auth.uid().

#Supabase #PostgreSQL #Postgres #RLS #vibecoding #AppSec #webdev

Common one in AI-built apps: an RLS error shows up, the agent swaps in the service_role key in the API route, the error goes away.

That key skips RLS. Now /api/orders/[id] returns whatever id it's given, to anyone signed in.

Fix: filter by id AND user_id from the server-side session (never from the request body), or create the Supabase client with the user's session so your policies apply.

#Supabase #AppSec #infosec #nextjs #postgres #RLS #vibecoding #webdev #IDOR

Unpopular-ish opinion: an MCP server listing its tools without auth is usually not the scary part. Ours does it on purpose (one read-only tool, rate limited).

The scary part is a tool like get_invoice that queries with a service role key and trusts the model to pass the right user id. Signed in is not the same as allowed. Check the caller's permission inside every tool, same rule as an RLS policy.

#MCP #AIagents #Supabase #AppSec #infosec #devtools #vibecoding #webdev #Postgres #LLM

60-second Supabase check, SQL Editor:

select tablename, policyname, cmd, qual from pg_policies where qual ilike '%auth.role()%' or qual ilike '%auth.uid() is not null%' or qual = 'true';

Each row is a policy that only checks "is someone signed in" (or nothing at all). On profiles, orders, messages or uploads, swap it for (select auth.uid()) = user_id.

#Supabase #Postgres #PostgreSQL #SQL #RLS #AppSec #vibecoding #webdev #infosec #security #buildinpublic #indiehackers #Lovable #Bolt #Cursor