add pg_upgrade mention

This commit is contained in:
Gabriel Augendre 2023-08-18 08:51:55 +02:00
parent 8089e9d6d0
commit 6b4794044e

View file

@ -85,6 +85,8 @@ docker compose logs -ft
rm -rf db_data_OLD rm -rf db_data_OLD
``` ```
If your database is not in a container, then [`pg_upgrade`](https://www.postgresql.org/docs/current/pgupgrade.html) may be a better option: faster, less hassle and doesn't require manually dumping and restoring.
{{<unsafe>}} {{<unsafe>}}
<small> <small>
Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission. Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.