Clarification to pg_upgrade docs on reverting to old cluster

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Clarification to pg_upgrade docs on reverting to old cluster
Date: 2019-04-04 21:13:55
Message-ID: qtqiv7hI87s_Xvz5ZXHCaH-1-_AZGpIDJowzlRjF3-AbCr3RhSNydM_JCuJ8DE4WZozrtxhIWmyYTbv0syKyfGB6cYMQitp9yN-NZMm-oAo=@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Reading the pg_upgrade reference page, I get the feeling that one of the
bullets under "Reverting to old cluster" is a bit thin on detail to be helpful
to newcomers:

"If you ran pg_upgrade with --link, the data files are shared between the
old and new cluster. If you started the new cluster, the new server has
written to those shared files and it is unsafe to use the old cluster."

This is perfectly correct, but it fails to provide information on what to do
next in case reverting is in fact what the user wants. The attached patch adds
a short sentence saying the old cluster should be restored from backups at this
point.

cheers ./daniel

Attachment Content-Type Size
pg_upgrade_revert_cluster.patch application/octet-stream 1.1 KB

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Magnus Hagander 2019-04-05 12:26:55 Re: Clarification to pg_upgrade docs on reverting to old cluster
Previous Message PG Doc comments form 2019-04-04 17:20:06 Building Source from windows clarification