Re: pg_stop_backup does not complete
От | Greg Smith |
---|---|
Тема | Re: pg_stop_backup does not complete |
Дата | |
Msg-id | 4B8CAFB9.50501@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: pg_stop_backup does not complete (Fujii Masao <masao.fujii@gmail.com>) |
Список | pgsql-hackers |
Fujii Masao wrote: <blockquote cite="mid:3f0b79eb1003012220x358e072atc7e3f322d1d24466@mail.gmail.com" type="cite"><pre wrap="">OnFri, Feb 26, 2010 at 2:47 AM, Bruce Momjian <a class="moz-txt-link-rfc2396E" href="mailto:bruce@momjian.us"><bruce@momjian.us></a>wrote: </pre><blockquote type="cite"><pre wrap="">Postgres 9.0will be the first release to mention /bin/true as a way of turning off archiving in extraordinary circumstances: <a class="moz-txt-link-freetext" href="http://developer.postgresql.org/pgdocs/postgres/runtime-config-wal.html">http://developer.postgresql.org/pgdocs/postgres/runtime-config-wal.html</a> </pre></blockquote><blockquote type="cite"><pre wrap="">Setting archive_mode to a command that does nothing but return true,e.g. /bin/true, </pre></blockquote><pre wrap=""> "return true" seems ambiguous for me. How about writing clearly "return a zero exit status" instead? </pre></blockquote><br /> This is a good catch, and I have a work in progress updateto that doc section that fixes that wording, as well as rearranging the recent additions a bit. Really that whole"/bin/true" big needs to go after the example. A very brief intro to what "exit status" means on various platformsmight be in order too. I'm adjusting all that to read better, once I'm happy with it I'll submit a doc patch inthe next week or two with the final result.<br /><br /><pre class="moz-signature" cols="72">-- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support <a class="moz-txt-link-abbreviated" href="mailto:greg@2ndQuadrant.com">greg@2ndQuadrant.com</a> <a class="moz-txt-link-abbreviated"href="http://www.2ndQuadrant.us">www.2ndQuadrant.us</a> </pre>
В списке pgsql-hackers по дате отправления: