Comments (3)
As far as I can determine, pg_upgrade
is supposed to have created those in your data directory (or possibly in your "current" directory when you ran the command which would be /var/lib/postgresql
inside the pg_upgrade
container, not entirely sure). I can't find a lot of documentation about those files, and even finding where in the source they're created was a bit hard.
Regardless, that's not really something specific to this image -- it's a general PostgreSQL problem (the output you've quoted above comes directly from pg_upgrade
itself, not anything I've written in this image). This image only has something like 50 lines of unique source code total between the Dockerfile
and the docker-upgrade
script. 😅
from docker-postgres-upgrade.
I kept the container after upgrade, the analyze_new_cluster.sh
will be written to work directory which is not mapped to local disk.
anyway it doesn't matter, we could manually run it using vacuumdb
command
since the message is printed at the end of the upgrade, would be confusing for newbie like me doing the upgrade for the first time :)
from docker-postgres-upgrade.
For me on Mac OS using homebrew, my postgres install was located at /usr/local/var/postgres, and this script was located at /usr/local/var/log. Confusing as hell!
from docker-postgres-upgrade.
Related Issues (20)
- Support custom installed username HOT 1
- Upgrading from 14 to 15 failing with `"/var/lib/postgresql/14/data/PG_VERSION": No such file or directory` HOT 5
- Docker image should run pg_upgrade's generated update_extension.sql file when present HOT 2
- support custom username for example "-U my_username" when connecting HOT 6
- Break database made with Alpine-based container HOT 6
- PostgreSQL 16 HOT 3
- TO VERSION 16 HOT 1
- 11 to VERSION 16 REQUEST HOT 1
- Cannot create directory: File exists. HOT 1
- Docker image for ARM64 (aarch64 / Arm Ampere) architecture HOT 1
- "could not create any Unix-domain sockets" HOT 2
- Add ARM Arch Support HOT 1
- Does the operation of `exec gosu postgres "$BASH_SOURCE" "$@"` overlap with `exec "$@"`? HOT 4
- 13-to-15: FATAL: role "postgres" does not exist HOT 2
- How to support PostgreSQL database upgrade with multiple tablespaces HOT 1
- Collation warning
- script to review when username is not postgres - permission issue
- Is there a reason to remove upgrade ability for older versions? HOT 2
- chown fails
- Support for linux/arm64/v8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-postgres-upgrade.