PG_DUMPALL not executable within docker container

From: Patrick Frießnegg <patrick(dot)fri(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: PG_DUMPALL not executable within docker container
Date: 2023-09-27 08:43:22
Message-ID: CAApuS=87rR5iaBzZiMZ-wMp0Ejvj1ZAXTzw8fAPGy+n7Nh6sBw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Steps to reproduce:

Startup Container:
```sh
synesc(at)dockerhost01:$ docker run --rm -it postgres:15.4 /bin/bash
```

Execute PG_DUMPALL, Params not required to see the issue.
```sh
root(at)13fba0e113c7:/# pg_dumpall
popen failure: Cannot allocate memory
pg_dumpall: error: program "pg_dump" is needed by pg_dumpall but was not
found in the same directory as "/usr/lib/postgresql/15/bin/pg_dumpall"
root(at)13fba0e113c7:/#
```

Was not able to fix the problem, with full parameter list.

--
Ing. Frießnegg Patrick
Synesc GmbH
mailto: patrick(dot)fri(at)gmail(dot)com

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-09-27 09:06:17 Re: PG_DUMPALL not executable within docker container
Previous Message Sorin Mircioiu 2023-09-27 08:32:45 Re: PostgreSQL's processes blocking each other are not detected as deadlock