Chris van Eijk: Hibernate multi-tenancy and PostgreSQL RLS in Spring Boot
Where to set the tenant for PostgreSQL row-level security in Spring Boot 4 and Hibernate 7, measured: DataSource wrapper, interceptor, @Transactional, provider.
Community stream
Where to set the tenant for PostgreSQL row-level security in Spring Boot 4 and Hibernate 7, measured: DataSource wrapper, interceptor, @Transactional, provider.
'remaining connection slots are reserved for roles with the SUPERUSER attribute': why PostgreSQL refuses you, measured on 15–17, and how to free slots.
A PostgreSQL session idle in transaction, measured on 17: what it blocks (locks, ALTER TABLE, vacuum) and how idle_in_transaction_session_timeout ends it.
Setting the tenant for PostgreSQL row-level security in TypeORM 1.1, measured: dataSource.query, QueryRunner, transactions, and an injected repository.
PostgreSQL has no CREATE POLICY IF NOT EXISTS. Three ways to write a repeatable policy migration, measured on PostgreSQL 17 and 18: gaps, locks and races.
What raised 'stack depth limit exceeded' in PostgreSQL 17, measured: triggers, recursion, a policy reading its table via a function, long expressions.
Restoring a pg_dump 17 file into PostgreSQL 16 fails with unrecognized configuration parameter transaction_timeout. Measured fixes, plus four other causes.
PostgreSQL error 40001 'could not serialize access due to concurrent update', measured on 17: when it fires, why SKIP LOCKED does not avoid it, and the retry.
Hacker News discussion (199 points, 78 comments)
Table Of Contents Build Your PostgreSQL RBAC Lab Meet Our Credit Card Application — The RBAC Scenario Understanding PostgreSQL Roles — LOGIN vs NOLOGIN Hands-On — Create Our PostgreSQL Roles Creating Our PostgreSQL Application Database Creating Our…
Álvaro Herrera will be joining us in November to discuss, when our monthly hacking workshop will cover Table repacking, done right. If you're interesting in joining us, please sign up using this form and I will send you an invite to one of the…
Sooner or later, someone on the team reads about write skew. It is an unsettling read: two transactions, each correct on its own, each looking at data the other is about to change, both committing, and the database ending up in a state that no…
For most of the last decade, every copy of pgAdmin that anyone has ever downloaded was built by a Jenkins server, and for most of that time it did the job perfectly well. It built the Debian and Red Hat packages, the Windows installer, the macOS app…
2026년 11월 17~18일 홍콩에서 열리는 PGConf.Asia 2026에서 EDB 전문가들이 PostgreSQL의 주요 기술과 운영 과제를 소개합니다. AI 기반 SQL 생성과 검색·RAG부터 스케일아웃 아키텍처, 성능 튜닝, CloudNativePG 및 TPA 기반 클러스터 관리까지 주요 발표 세션을 미리 살펴보세요.
`primary_conninfo` tells a standby where to stream WAL from—but only after the archive and pg_wal run dry. (I consult on PostgreSQL through PGX Inc..)
Hacker News discussion (28 points, 22 comments)
I packaged bigquery_fdw over 6 years ago. However if you tried to use bigquery_fdw from the PostgreSQL YUM or zypper repositories recently, there is a good chance it did not work: the Python modules it needs could not be imported by the interpreter…
Debugging PostgreSQL connections requires stopping a backend before it does anything interesting. (I consult on PostgreSQL through PGX Inc..)
We’re wrapping up our series of articles reviewing the changes in PostgreSQL 19. The previous articles covered the first four CommitFests: 2025-07, 2025-09, 2025-11, 2026-01. Today we begin our review of the March 2026 CommitFest. Why «begin»? As in…
644 items available