Search Postgresql Archives

Re: pg_archivecleanup not deleting anything?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 4, 2015 at 7:16 PM, Albe Laurenz <laurenz.albe@xxxxxxxxxx> wrote:
> Michael Paquier wrote:
>>>> The docs mention that "all WAL files" preceding a given point are
>>>> removed, personally I understand that as "all 16MB-size segments shall
>>>> die", hence excluding backup and history files from the stack. But one
>>>> may understand that "WAL files" means everything in pg_xlog, so as
>>>> something that includes backup and history files. Perhaps we would
>>>> gain in clarity by saying "WAL file segments, including .partial
>>>> segments" in the docs, and not just "WAL files". Thoughts?
>>>
>>> It might help to add:
>>> "Timeline history files and backup history files are not deleted."
>>
>> Something among those lines?
>
>> +  <para>
>> +   WAL file segments and WAL file segments with <literal>.partial</literal>
>> +   are deleted, while timeline history files and backup history files are not.
>> +  </para>
>
> "WAL file segments with .partial" sounds strange.
> What about "WAL file segments (including partial ones) are deleted, while ..."?

Does that look better?
-- 
Michael
diff --git a/doc/src/sgml/ref/pgarchivecleanup.sgml b/doc/src/sgml/ref/pgarchivecleanup.sgml
index 60a7fc4..c375a88 100644
--- a/doc/src/sgml/ref/pgarchivecleanup.sgml
+++ b/doc/src/sgml/ref/pgarchivecleanup.sgml
@@ -80,6 +80,10 @@ pg_archivecleanup:  removing file "archive/00000001000000370000000E"
    <replaceable>archivelocation</> is a directory readable and writable by the
    server-owning user.
   </para>
+  <para>
+   WAL file segments (including partial ones) are deleted, while timeline
+   history files and backup history files are not.
+  </para>
  </refsect1>
 
  <refsect1>
-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux