<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/postgres-rls-quietly-fails-six-ways-pg19-readiness-scores-4-out-of-10-r0vwvis9m" -->

---
title: Postgres RLS quietly fails six ways, PG19 readiness...
description: Today's posts lean heavy on Postgres internals and operational gotchas. A deep dive into row-level security lists six specific ways tenant isolation silently...
canonical: https://daily.dev/posts/postgres-rls-quietly-fails-six-ways-pg19-readiness-scores-4-out-of-10-r0vwvis9m
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Postgres RLS quietly fails six ways, PG19 readiness scores 4 out of 10 | daily.dev
og:description: Today's posts lean heavy on Postgres internals and operational gotchas. A deep dive into row-level security lists six specific ways tenant isolation silently...
og:url: https://daily.dev/posts/postgres-rls-quietly-fails-six-ways-pg19-readiness-scores-4-out-of-10-r0vwvis9m
og:image: https://api.daily.dev/og/posts/R0VwVis9m.png
og:image:alt: Postgres RLS quietly fails six ways, PG19 readiness scores 4 out of 10
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Postgres RLS quietly fails six ways, PG19 readiness scores 4 out of 10

**[Databases Digest](https://daily.dev/sources/databases_digest)** · 4 min read · 0 upvotes · 0 comments

## Summary

Today's posts lean heavy on Postgres internals and operational gotchas. A deep dive into row-level security lists six specific ways tenant isolation silently breaks even when RLS is enabled. An AI-assisted readiness review puts PostgreSQL 19 at 4 out of 10 with GA slipping to mid-to-late October. Elsewhere, a real migration from MySQL to Postgres cut server load average by two-thirds, and a deduplication writeup shows why similarity scores in the 88-97 range can't be trusted to auto-merge records.

## Content

**TLDR:** Today's posts lean heavy on Postgres internals and operational gotchas. A deep dive into row-level security lists six specific ways tenant isolation silently breaks even when RLS is enabled. An AI-assisted readiness review puts PostgreSQL 19 at 4 out of 10 with GA slipping to mid-to-late October. Elsewhere, a real migration from MySQL to Postgres cut server load average by two-thirds, and a deduplication writeup shows why similarity scores in the 88-97 range can't be trusted to auto-merge records.

---

## Row-level security has six specific failure modes that still leak tenant data

RLS is supposed to make a missing WHERE clause harmless, but the piece walks through exactly how it doesn't: ENABLE without FORCE exempts the table owner, BYPASSRLS roles ignore RLS entirely, and PgBouncer transaction-mode pooling can leak tenant state through set_config's third argument if you get it wrong. A permissive policy added later also combines with OR by default, so a well-meaning 'support staff can view all' policy can silently widen access unless it's explicitly marked RESTRICTIVE. If you're relying on RLS for multi-tenant isolation, this is worth checking your setup against line by line. [Read more](https://daily.dev/posts/bM9k2DFoO)

## AI-run PG19 readiness review scores 4 out of 10, GA slipping to October

An AI assistant combo (Fable+Jev) reviewed open PostgreSQL 19 items and came back with a readiness score of 4 out of 10, calling it below par for this stage of the release cycle. The reasoning: a critical item still only has a candidate patch, and several high-severity items have no patch at all. Confidence in the assessment was 0.83, with general availability now pegged for mid-to-late October rather than the usual September window. [Read more](https://daily.dev/posts/fqHIZ1owu)

## max_parallel_workers and its per-gather cousin aren't the limits you think they are

A detailed breakdown clears up a persistent Postgres misunderstanding: max_parallel_workers_per_gather caps workers per Gather node in a plan, not globally, while max_parallel_workers is the cluster-wide count checked against each session's own setting. Misconfigure the relationship between the two and you can starve logical replication workers or other parallel plans without any obvious error. The piece also covers new PostgreSQL 18 stats columns (parallel_workers_to_launch/launched) that finally let you see the gap between requested and actual worker counts. [Read more](https://daily.dev/posts/glgPtDm34)

## Deterministic dedup stages beat similarity scores on 76% of a 10,000-row vendor list

Two deterministic pipeline stages, URL normalization and registered-domain collapsing via the Public Suffix List, eliminated 76% of duplicates in a supplier list before any fuzzy matching ran. RapidFuzz then chewed through 33.7 million candidate pairs, but scores between roughly 88 and 97 turned out to be structurally ambiguous: the same string-distance number can mean a typo of the same vendor or a genuinely different company. The takeaway worth stealing: stop trying to find a magic auto-merge threshold and use the score to size a human review queue instead. [Read more](https://daily.dev/posts/58RLLru6v)

---

## Also notable

- **MySQL to PostgreSQL migration on a small production site cuts server load average from 1.5 to 0.3-0.5:** A developer migrated a Turkish motorcycle classifieds site from MySQL 8 to PostgreSQL 12 with about three minutes of downtime and saw load average drop dramatically on identical hardware, though they're upfront that it's an informal observation rather than a controlled benchmark. [Read more](https://daily.dev/posts/3V4yF7xc4)
- **Rails Active Record schema cache now dumps to JSON, loads 22x faster than YAML:** On a 944-table app, switching the schema cache format to JSON cut load time by roughly 22x compared to YAML, alongside fixes to PostgreSQL index and constraint introspection for schema-qualified names. [Read more](https://daily.dev/posts/1FDSyVQuu)
- **pg_acm ships a major update with two dozen bug fixes ahead of PG Conf.EU talk:** The PostgreSQL access control extension pg_acm got a major code refresh fixing about two dozen known bugs and adding new requested functions, with the author planning to finish documentation before presenting at PG Conf.EU. [Read more](https://daily.dev/posts/9jwTsFeSi)

## Similar posts on daily.dev

- [PostgreSQL row-level security for SaaS: what we measured](https://daily.dev/posts/postgresql-row-level-security-for-saas-what-we-measured-wxhmymmnr) · Planet PostgreSQL · 0 upvotes · 0 comments
- [PostgreSQL Row-Level Security With EF Core and Npgsql](https://daily.dev/posts/postgresql-row-level-security-with-ef-core-and-npgsql-hwrvo7jim) · Milan Jovanović · 1 upvotes · 1 comments

---

Tags: [#database](https://daily.dev/tags/database), [#postgresql](https://daily.dev/tags/postgresql), [#multi-tenancy](https://daily.dev/tags/multi-tenancy)

[View this post on daily.dev](https://daily.dev/posts/postgres-rls-quietly-fails-six-ways-pg19-readiness-scores-4-out-of-10-r0vwvis9m)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/postgres-rls-quietly-fails-six-ways-pg19-readiness-scores-4-out-of-10-r0vwvis9m","headline":"Postgres RLS quietly fails six ways, PG19 readiness scores 4 out of 10","text":"Today's posts lean heavy on Postgres internals and operational gotchas. A deep dive into row-level security lists six specific ways tenant isolation silently breaks even when RLS is enabled. An AI-assisted readiness review puts PostgreSQL 19 at 4 out of 10 with GA slipping to mid-to-late October. Elsewhere, a real migration from MySQL to Postgres cut server load average by two-thirds, and a deduplication writeup shows why similarity scores in the 88-97 range can't be trusted to auto-merge records.","url":"https://daily.dev/posts/postgres-rls-quietly-fails-six-ways-pg19-readiness-scores-4-out-of-10-r0vwvis9m","datePublished":"2026-09-20T04:18:14.762Z","dateModified":"2026-09-20T04:18:35.109Z","author":{"@type":"Organization","name":"Databases Digest","logo":"https://media.daily.dev/image/upload/s--ir1hdV8b--/f_auto,q_auto/v1773839400/logos/databases_digest?_a=BAMAMiiu0","url":"https://daily.dev/sources/databases_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/databases_digest","name":"Databases Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Databases Digest","item":"https://daily.dev/sources/databases_digest"},{"@type":"ListItem","position":3,"name":"Postgres RLS quietly fails six ways, PG19 readiness scores 4 out of 10"}]}
```

