PostgreSQL 18+ stores data in /var/lib/postgresql/18/main instead of /var/lib/postgresql/data. The volume mount needs to be at /var/lib/postgresql to capture the new directory structure. Fixes #28281
PostgreSQL 18+ stores data in /var/lib/postgresql/18/main instead of /var/lib/postgresql/data. The volume mount needs to be at /var/lib/postgresql to capture the new directory structure. Fixes #28281