Re: PG_DUMPALL not executable within docker container
От | Daniel Gustafsson |
---|---|
Тема | Re: PG_DUMPALL not executable within docker container |
Дата | |
Msg-id | 8B5FCBE7-AF0F-41C7-A425-C35A874D723F@yesql.se обсуждение исходный текст |
Ответ на | PG_DUMPALL not executable within docker container (Patrick Frießnegg <patrick.fri@gmail.com>) |
Ответы |
Re: PG_DUMPALL not executable within docker container
|
Список | pgsql-bugs |
> On 27 Sep 2023, at 10:43, Patrick Frießnegg <patrick.fri@gmail.com> wrote: > root@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" pg_dumpall runs the pg_dump binary, so when starting up it locates and tries to execute pg_dump to check its version. The above error indicates that the binary does indeed exist, but when trying to execute it there is a problem with the popen() call. A quick search reveals that this has been reported against Docker (and has been fixed it seems): https://github.com/docker-library/postgres/issues/1103 As this is not a bug in postgres, pgsql-general is probably a better mailinglist to use for help. -- Daniel Gustafsson
В списке pgsql-bugs по дате отправления: