Skip to content

pg_dumpall fails in postgres:14.8-bookworm #1101

@jorenham

Description

@jorenham

Running docker-compose exec db14 pg_dumpall --clean in the postgres:14.8-bookworm image results in:

popen failure: Cannot allocate memory
pg_dumpall: error: The program "pg_dump" is needed by pg_dumpall but was not found in the
same directory as "/usr/lib/postgresql/14/bin/pg_dumpall".
Check your installation.

This is working fine in postgres:14.8-bullseye.


For some context:

docker-compose exec db14 cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
docker-compose exec db14 psql --version
psql (PostgreSQL) 14.8 (Debian 14.8-1.pgdg120+1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions