Re: pg_dump failed with error code 255, but I don't see why
В списке pgsql-general по дате отправления:
| От | Ron |
|---|---|
| Тема | Re: pg_dump failed with error code 255, but I don't see why |
| Дата | |
| Msg-id | 992001c5-0241-c4b8-7788-7ea1954db7ae@gmail.com обсуждение |
| Ответ на | Re: pg_dump failed with error code 255, but I don't see why (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_dump failed with error code 255, but I don't see why
|
| Список | pgsql-general |
On 9/22/22 09:34, Tom Lane wrote: > Ron <ronljohnsonjr@gmail.com> writes: >> v9.6.2.23 >> I always run pg_dump with the --verbose option, and the bash script echos >> $?, so there's a 25,664 line log file for me to examine which explicitly >> shows the return code. > A quick search of the 9.6 pg_dump source code shows that it only > ever calls exit() with values 0 or 1. 255 would have to be coming > from some outside factor. You sure your shell script isn't > misbehaving and corrupting the reported return code? Good to know. The RC might be from ssh (the actual command being "ssh postgres@HOSTNAME pg_dump ...". -- Angular momentum makes the world go 'round.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера