| От | Peter Eisentraut |
|---|---|
| Тема | Re: [PATCH] Relocation of tablespaces in pg_basebackup |
| Дата | |
| Msg-id | 52F589C7.6050804@gmx.net обсуждение исходный текст |
| Ответ на | Re: [PATCH] Relocation of tablespaces in pg_basebackup (Steeve Lennmark <steevel@handeldsbanken.se>) |
| Список | pgsql-hackers |
On 1/29/14, 12:07 PM, Steeve Lennmark wrote: > We need to think about how to handle this on platforms without > symlinks. > I don't like just printing an error message and moving on. It > should be > either pass or fail or an option to choose between them. > > I hope someone with experience with those kind of systems can come up > with suggestions on how to solve that. I only run postgres on Linux. > > I would still love some input on this. Currently, pg_basebackup aborts if it has to create a symlink on a platform that doesn't support it. So your code that updates the symlinks would never come into play anyway. I'd just update that code with a "shouldn't get here" comment and add an exit(1).
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера