Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E69C7632573 for ; Sun, 15 Aug 2010 06:38:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 44456-03 for ; Sun, 15 Aug 2010 09:38:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by mail.postgresql.org (Postfix) with ESMTP id 75AC563255F for ; Sun, 15 Aug 2010 06:38:43 -0300 (ADT) Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) (authenticated bits=0) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id o7F9ccW0031676 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Sun, 15 Aug 2010 02:38:41 -0700 Received: by vws3 with SMTP id 3so2497542vws.19 for ; Sun, 15 Aug 2010 02:38:33 -0700 (PDT) Received: by 10.220.98.193 with SMTP id r1mr2273751vcn.229.1281865113254; Sun, 15 Aug 2010 02:38:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.171.75 with HTTP; Sun, 15 Aug 2010 02:38:03 -0700 (PDT) In-Reply-To: References: From: Thom Brown Date: Sun, 15 Aug 2010 10:38:03 +0100 Message-ID: Subject: Re: pg_dump locking info To: pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.13 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201008/34 X-Sequence-Number: 5858 On 15 August 2010 10:29, Thom Brown wrote: > On 15 August 2010 10:01, Thom Brown wrote: >> Is this right? =A0I'm looking at >> http://www.postgresql.org/docs/current/static/backup-dump.html >> >> It says, "pg_dump does not block other operations on the database >> while it is working. (Exceptions are those operations that need to >> operate with an exclusive lock, such as most forms of ALTER TABLE.)" >> >> So pg_dump actually performs an ALTER TABLE sometimes? :S >> > > And whilst I was perusing the docs, I also noticed this on > http://www.postgresql.org/docs/current/static/backup.html > > "Each has its own strengths and weaknesses. Each is discussed in turn bel= ow." > > That sentence is at the bottom of the page. =A0It would make sense in a > PDF, but might be a confusing in section-by-section HTML > documentation. > Another thing I noticed, going back to http://www.postgresql.org/docs/current/static/backup-file.html , is that it makes no mention of the fact that file system level backups are useless if being used to restore in a different major version. Maybe "There are two restrictions, however, which make this method impractical, or at least inferior to the pg_dump method" should be changed to "There are three..." and add the point that pg_dump/pg_dumpall is mostly immune to such limitations. --=20 Thom Brown Registered Linux user: #516935