2 ms·
> ... PostgreSQL package. Is it able to automatically upgrade people from older PG versions? If not, the MIT licensed code from here might be worth looking th
by justinclift 3y ago
> ... PostgreSQL package.
Is it able to automatically upgrade people from older PG versions?
If not, the MIT licensed code from here might be worth looking through and grabbing ideas from? :)
https://github.com/pgautoupgrade/docker-pgautoupgrade https://github.com/pgautoupgrade/docker-pgautoupgrade
Specifically the scripting here is the bulk of it, the majority of the other stuff is just the existing docker entrypoint code from the official Docker PG container:
https://github.com/pgautoupgrade/docker-pgautoupgrade/blob/0d00eb8188d4f5d65ba5cda0953cee6a73c71227/docker-entrypoint.sh#L362-L558 https://github.com/pgautoupgrade/docker-pgautoupgrade/blob/0...