From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Function to promote standby servers |
Date: | 2018-10-04 11:26:10 |
Message-ID: | e1f788f76240023dd5a7f9529bfa4a93edea2f77.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Michael Paquier wrote:
> > In that vein, I propose a function pg_promote() to promote
> > physical standby servers.
>
> No fundamental issues from me regarding the concept of being able to
> trigger a promotion remotely, so +1. Do we want this capability as well
> for fallback_promote? My gut tells me no, and that we ought to drop
> this option at some point in the future, still that's worth mentioning.
>
> You may want to move PROMOTE_SIGNAL_FILE in a position where xlogfuncs.c
> could use it.
Good, idea; updated patch attached.
Yours,
Laurenz Albe
Attachment | Content-Type | Size |
---|---|---|
0001-Add-pg_promote-to-promote-standby-servers-V2.patch | text/x-patch | 6.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Travers | 2018-10-04 12:11:12 | Possible important data point on stats collection, wondering about possible improvement |
Previous Message | Michael Paquier | 2018-10-04 11:00:51 | Re: [HACKERS] Optional message to user when terminating/cancelling backend |