pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix some documentation in pg_rewind 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix some documentation in pg_rewind @ 2019-04-05 01:39 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2019-04-05 01:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix some documentation in pg_rewind Since 11, it is possible to use a non-superuser role when using an online source cluster with pg_rewind as long as the role has proper permissions to execute on the source all the functions used by pg_rewind, and the documentation stated that a superuser is necessary. Let's add at the same time all the details needed to create such a role. A second confusion which comes a lot from users is that it is necessary to issue a checkpoint on a freshly-promoted standby so as its control file has up-to-date timeline information which is used by pg_rewind to validate the operation. Let's document that properly. This is back-patched down to 9.5 where pg_rewind has been introduced. Author: Michael Paquier Reviewed-by: Magnus Hagander Discussion: https://postgr.es/m/CABUevEz5bpvbwVsYCaSMV80CBZ5-82nkMzbb+Bu=h1m=rLdn=g@mail.gmail.com Backpatch-through: 9.5 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/bfc80683ce51590545350b2c8ccfaa9e7a2a1870 Modified Files -------------- doc/src/sgml/ref/pg_rewind.sgml | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix some documentation in pg_rewind @ 2019-04-05 01:39 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2019-04-05 01:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix some documentation in pg_rewind Since 11, it is possible to use a non-superuser role when using an online source cluster with pg_rewind as long as the role has proper permissions to execute on the source all the functions used by pg_rewind, and the documentation stated that a superuser is necessary. Let's add at the same time all the details needed to create such a role. A second confusion which comes a lot from users is that it is necessary to issue a checkpoint on a freshly-promoted standby so as its control file has up-to-date timeline information which is used by pg_rewind to validate the operation. Let's document that properly. This is back-patched down to 9.5 where pg_rewind has been introduced. Author: Michael Paquier Reviewed-by: Magnus Hagander Discussion: https://postgr.es/m/CABUevEz5bpvbwVsYCaSMV80CBZ5-82nkMzbb+Bu=h1m=rLdn=g@mail.gmail.com Backpatch-through: 9.5 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/064b3fcbdb198f04ee74e01dd48b3d75448b3c4c Modified Files -------------- doc/src/sgml/ref/pg_rewind.sgml | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix some documentation in pg_rewind @ 2019-04-05 01:39 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2019-04-05 01:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix some documentation in pg_rewind A confusion which comes a lot from users is that it is necessary to issue a checkpoint on a freshly-promoted standby so as its control file has up-to-date timeline information which is used by pg_rewind to validate the operation. Let's document that properly. This is back-patched down to 9.5 where pg_rewind has been introduced. Author: Michael Paquier Reviewed-by: Magnus Hagander Discussion: https://postgr.es/m/CABUevEz5bpvbwVsYCaSMV80CBZ5-82nkMzbb+Bu=h1m=rLdn=g@mail.gmail.com Backpatch-through: 9.5 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4b482e94a006ee3ed6df09aba8c526cdcee84496 Modified Files -------------- doc/src/sgml/ref/pg_rewind.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix some documentation in pg_rewind @ 2019-04-05 01:39 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2019-04-05 01:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix some documentation in pg_rewind A confusion which comes a lot from users is that it is necessary to issue a checkpoint on a freshly-promoted standby so as its control file has up-to-date timeline information which is used by pg_rewind to validate the operation. Let's document that properly. This is back-patched down to 9.5 where pg_rewind has been introduced. Author: Michael Paquier Reviewed-by: Magnus Hagander Discussion: https://postgr.es/m/CABUevEz5bpvbwVsYCaSMV80CBZ5-82nkMzbb+Bu=h1m=rLdn=g@mail.gmail.com Backpatch-through: 9.5 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7ff7c0d7b71c6ec638549c3accd54ccdddf3232e Modified Files -------------- doc/src/sgml/ref/pg_rewind.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix some documentation in pg_rewind @ 2019-04-05 01:39 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2019-04-05 01:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix some documentation in pg_rewind A confusion which comes a lot from users is that it is necessary to issue a checkpoint on a freshly-promoted standby so as its control file has up-to-date timeline information which is used by pg_rewind to validate the operation. Let's document that properly. This is back-patched down to 9.5 where pg_rewind has been introduced. Author: Michael Paquier Reviewed-by: Magnus Hagander Discussion: https://postgr.es/m/CABUevEz5bpvbwVsYCaSMV80CBZ5-82nkMzbb+Bu=h1m=rLdn=g@mail.gmail.com Backpatch-through: 9.5 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1f63f69c43b5709cf6d8fe60be5e4f137c157316 Modified Files -------------- doc/src/sgml/ref/pg_rewind.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2019-04-05 01:39 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-04-05 01:39 pgsql: Fix some documentation in pg_rewind Michael Paquier <michael@paquier.xyz> 2019-04-05 01:39 pgsql: Fix some documentation in pg_rewind Michael Paquier <michael@paquier.xyz> 2019-04-05 01:39 pgsql: Fix some documentation in pg_rewind Michael Paquier <michael@paquier.xyz> 2019-04-05 01:39 pgsql: Fix some documentation in pg_rewind Michael Paquier <michael@paquier.xyz> 2019-04-05 01:39 pgsql: Fix some documentation in pg_rewind Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox