Re: Safe switchover - Mailing list pgsql-general

From James Sewell
Subject Re: Safe switchover
Date
Msg-id CAANVwEu1AoiMe9ao0adaNjfW4TTT5ay7VoRUL6+9He18jg-ugQ@mail.gmail.com
Whole thread Raw
In response to Safe switchover  (James Sewell <james.sewell@jirotech.com>)
Responses Re: Safe switchover
List pgsql-general

- open connection to database
- smart shutdown master
- terminate all other connections
- wait for shutdown (archiving will finish)

OK despite what it looked like from the code - upon testing it seems like even a fast shutdown will wait for logs to be archived *as long as progress is being made* (the same as smart).



The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

pgsql-general by date:

Previous
From: Vishwa Kalyankar
Date:
Subject: Postgresql-12 taking more time to execute the query
Next
From: Paul Förster
Date:
Subject: Re: Safe switchover