Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id AB8E7153F352 for ; Mon, 9 Apr 2012 15:13:24 -0300 (ADT) Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SHJ5f-0005DT-Mu for pgsql-bugs@postgresql.org; Mon, 09 Apr 2012 18:13:24 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1SHJ5S-00017O-Fl; Mon, 09 Apr 2012 14:13:10 -0400 Date: Mon, 9 Apr 2012 14:13:10 -0400 From: Bruce Momjian To: Robert Haas Cc: stuart.bishop@canonical.com, pgsql-bugs@postgresql.org Subject: Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Message-ID: <20120409181310.GA3379@momjian.us> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/47 X-Sequence-Number: 32798 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Mon, Apr 09, 2012 at 10:10:34AM -0400, Robert Haas wrote: > On Tue, Mar 13, 2012 at 5:00 AM, wrote: > > The following bug has been logged on the website: > > > > Bug reference:      6528 > > Logged by:          Stuart Bishop > > Email address:      stuart.bishop@canonical.com > > PostgreSQL version: 9.1.3 > > Operating system:   Ubuntu > > Description: > > > > In section 24.3.5.1 of the docs on setting up continuous archiving, there > > are a few paragraphs and examples for using pglesslog (pg_compresslog and > > pg_decompresslog). This tool did not get out of beta for 9.0 and the only > > reports I find for 9.1 are for not being able to compile it. Suggest > > removing it from the docs unless someone wants to pull this tool into the > > core. > > This complaint appears to be accurate. I think we should go ahead and > remove that mention. Agreed; removed with the attached patch. I didn't bother keeping the gzip mention because I assume there is little value to using without pglesslog. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=pglesslog diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml new file mode 100644 index 4227b66..bd7e42d *** a/doc/src/sgml/backup.sgml --- b/doc/src/sgml/backup.sgml *************** tar -rf /var/lib/pgsql/backup.tar /var/l *** 1246,1267 **** Please remember to add error handling to your backup scripts. - - If archive storage size is a concern, use pg_compresslog, - , to - remove unnecessary and trailing - space from the WAL files. You can then use - gzip to further compress the output of - pg_compresslog: - - archive_command = 'pg_compresslog %p - | gzip > /var/lib/pgsql/archive/%f' - - You will then need to use gunzip and - pg_decompresslog during recovery: - - restore_command = 'gunzip < /mnt/server/archivedir/%f | pg_decompresslog - %p' - - --- 1246,1251 ---- --Nq2Wo0NMKNjxTN9z--