From: | Mike Dillon <mike(at)embody(dot)org> |
---|---|
To: | James Lorenzen <jameslorenzen(at)gmail(dot)com> |
Cc: | pgsql-pkg-docker(at)postgresql(dot)org |
Subject: | Re: Post Startup hooks |
Date: | 2015-09-04 14:46:12 |
Message-ID: | CAG077fA=3GJd8O1Ps2xfaR9rSZcir7CvVbW2DKQ45zkhbUoaVQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-docker |
Are you using a recent version of the image? Scripts executed from
/docker-entrypoint-initdb.d have been executed against a running Postgres
server since this PR <https://github.com/docker-library/postgres/pull/75> was
merged in July. Previous to that, the entrypoint scripts were expected to
use "postgres --single", but that was determined to be broken for certain
use cases and the Postgres maintainers aren't interested in fixing it (see
the discussion here
<http://www.postgresql.org/message-id/20150126124133.19763.60605@wrigleys.postgresql.org>
).
-md
On Thu, Sep 3, 2015 at 7:53 PM, James Lorenzen <jameslorenzen(at)gmail(dot)com>
wrote:
> Would it be possible for the postgres docker image to support some post
> startup hooks? Seems like this would be a useful feature. I'm needing to
> perform some actions that require postgres to be started but that doesn't
> seem possible currently. Everything placed in `/docker-entrypoint-initdb.d`
> runs before postgres is started.
>
> Thanks,
> James Lorenzen
>
From | Date | Subject | |
---|---|---|---|
Next Message | James Lorenzen | 2015-09-04 14:50:04 | Re: Post Startup hooks |
Previous Message | James Lorenzen | 2015-09-04 02:53:41 | Post Startup hooks |