Skip to content

Commit

Permalink
Add the README and entrypoint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Oct 3, 2024
1 parent 93472b6 commit 776a93e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ like to upgrade to, then change your docker image to match:

### "One shot" mode

If you just want to perform the upgrade without starting PostgreSQL
If you just want to perform the upgrade without running PostgreSQL
afterwards, then you can use "[One Shot](https://github.com/pgautoupgrade/docker-pgautoupgrade/issues/13)" mode.

To do that, add an environment variable called `PGAUTO_ONESHOT`
Expand Down
8 changes: 5 additions & 3 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,11 @@ _main() {

UPGRADE_PERFORMED=1

echo "**********************************************************"
echo "Automatic upgrade process finished with no errors reported"
echo "**********************************************************"
echo "***************************************************************************************"
echo "Automatic upgrade process finished upgrading the data format to PostgreSQL ${PGTARGET}."
echo "The database has not yet been reindexed nor updated the query planner stats. Those "
echo "will be done by a background task shortly. "
echo "***************************************************************************************"
fi

### The main pgautoupgrade scripting ends here ###
Expand Down

0 comments on commit 776a93e

Please sign in to comment.