Honest question for Supabase folks: where do you store admin/roles?
profiles column, roles table, app_metadata, custom claims hook?
#Supabase #buildinpublic #webdev #Postgres #SaaS #indiehackers

Honest question for Supabase folks: where do you store admin/roles?
profiles column, roles table, app_metadata, custom claims hook?
#Supabase #buildinpublic #webdev #Postgres #SaaS #indiehackers
Welcome leboncoin as a Silver sponsor of FOSDEM PGDay 2027 in Brussels!
#postgres #fosdempgday #brussels #opensource #database
is_admin on your profiles table + an "update own profile" policy = anyone signed in can make themselves admin.
RLS checks which row, not which column.
Prototypes delete. A hard delete can't be undone, breaks links and erases history, though some data really does have to go. Decide per table: archive or delete, and what happens to related records.
Come say hi at #KubeCon, we're at Booth 280. EDB Todd Willey, and Robert Hodges, CEO of Altinity, will happily talk about how both of our #Kubernetes operators work together in practice.
Read more about the Altinity acquisition here: www.enterprisedb.com/blog/your-da... #ClickHouse #Postgres
With the acquisition of Altinity, EDB Postgres AI brings #Postgres and #ClickHouse software together on one road map, uniting transactions, real-time analytics, and agentic AI wherever your data has to live.
Read more from Todd Willey, on the blog: www.enterprisedb.com/blog/your-da...
Postgres doesn't index foreign keys for you
I added a test to the new project that fails if any foreign key lacks an index starting with its columns. It found 13 :(
Without them, deleting means full table scans #postgres
Recovery objectives for the deployment tracker, logical and physical backups, pgBackRest with WAL archiving and a real point-in-time recovery from a mistaken DELETE - plus the restore drill…
#databases #postgres #operations
https://stdout.adegoodyer.com/posts/backups-and-recovery/?utm_source=bluesky
We want YOU to present at the next #PostgreSQL #Edinburgh #Meetup! We know how hard it is to find inspiration, so here are two titles pre-made for you:
• _____ wasn't working for me. Then I tried this.
• Everyone was telling me to try _____: this is what I learned.
Message us!
The most expensive session on your Postgres may be doing nothing at all. Set idle_in_transaction_session_timeout.
Secure Your Postgres with Safegres: The New Open-Source Tool for Database Security #USA #San_Francisco #Postgres #Constructive #Safegres
Before an AI-built app on Supabase takes real users: restore a backup on a project that isn't live, pick the region on purpose (moving means a new project, URL and keys), and switch on row-level security across every table in an exposed schema.
Our referral reward is decided 16 days after the payment. The rows it reads can change in between.
Before launch, the review found three bugs in that decision.
Curious how people building on Supabase test RLS before launch.
Sign in as a second user and go after the first one's rows? pgTAP? A script in CI? Or is it on the list for after launch?
#Supabase #buildinpublic #SaaS #AI #vibecoding #webdev #Lovable #Postgres
Postgres multi-tenancy: schemas or RLS? 🤔
1️⃣ Schemas: strong isolation, heavy migrations
2️⃣ RLS: simple ops, strict policies
3️⃣ Migrate live tenants in batches
Full Guide: tinyurl.com/3v5zcp7u
#Postgres #SaaS #MultiTenant #BackendDev #RowLevelSecurity #WebDev #SoftwareEngineering #OpenSource #Startup
@pgconf.eu 2026 🎆MEGAPOST🎆: Worst Practices panel, radar + radar-analyst, three (!) Community Events, PG Karaoke, Diversity Committee activities & a cosplay book signing: my week at #PostgreSQL Conference Europe in #Valencia.