Re: PG Upgrade with hardlinks, when to start/stop master and replicas
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: PG Upgrade with hardlinks, when to start/stop master and replicas |
| Дата | |
| Msg-id | 4533.1550811780@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PG Upgrade with hardlinks, when to start/stop master and replicas (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: PG Upgrade with hardlinks, when to start/stop master and replicas
|
| Список | pgsql-general |
Bruce Momjian <bruce@momjian.us> writes:
> On Thu, Feb 21, 2019 at 09:31:32PM -0500, Stephen Frost wrote:
>> * Bruce Momjian (bruce@momjian.us) wrote:
>>> There was too much concern that users would accidentally start the old
>>> server at some later point, and its files would be hard linked to the
>>> new live server, leading to disaster.
>> Sure, I understand that concern, just wish there was a better approach
>> we could use for "DO NOT START THIS SERVER" rather than moving of the
>> pg_control file.
> As ugly as it is, I have never heard of a better solution.
system("rm -rf $OLDPGDATA") ... nah, that is not a better idea.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера