pgsql: pg_basebackup: Avoid unclean failure with server-compression and
В списке pgsql-committers по дате отправления:
| От | Robert Haas |
|---|---|
| Тема | pgsql: pg_basebackup: Avoid unclean failure with server-compression and |
| Дата | |
| Msg-id | E1nSj9f-000IRR-Oa@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
pg_basebackup: Avoid unclean failure with server-compression and -D -. Fail with a suitable error message instead. We can't inject the backup manifest into the output tarfile without decompressing it, and if we did that, we'd have to recompress the tarfile afterwards to produce the result the user is expecting. While we have enough infrastructure in pg_basebackup now to accomplish that whole series of steps without much additional code, it seems like excessively surprising behavior. The user probably did not select server-side compression with the idea that the client was going to end up decompressing it and then recompressing. Report from Justin Pryzby. Fix by me. Discussion: http://postgr.es/m/CA+Tgmob6Rnjz-Qv32h3yJn8nnUkLhrtQDAS4y5AtsgtorAFHRA@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b2de45f9200d9adcac50015521574696dc464ccd Modified Files -------------- src/bin/pg_basebackup/pg_basebackup.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера