From 6b4794044e59c11a14f0c583f20342017e00e7e3 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 18 Aug 2023 08:51:55 +0200 Subject: [PATCH] add pg_upgrade mention --- content/posts/upgrade-postgres-docker/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/upgrade-postgres-docker/index.md b/content/posts/upgrade-postgres-docker/index.md index 4212f06..f4824c2 100644 --- a/content/posts/upgrade-postgres-docker/index.md +++ b/content/posts/upgrade-postgres-docker/index.md @@ -85,6 +85,8 @@ docker compose logs -ft 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. + {{}} Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.