Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XTw4T-0008C2-Ak for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Sep 2014 16:57:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XTw4S-0006vH-RR for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Sep 2014 16:57:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XTw4S-0006vB-8R for pgsql-bugs@postgresql.org; Tue, 16 Sep 2014 16:57:40 +0000 Received: from mail-ig0-f182.google.com ([209.85.213.182]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XTw49-0000eM-IV for pgsql-bugs@postgresql.org; Tue, 16 Sep 2014 16:57:39 +0000 Received: by mail-ig0-f182.google.com with SMTP id h18so432984igc.9 for ; Tue, 16 Sep 2014 09:57:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=NZDHASjiieSqS9fQGmLqDxPItA3HWfNAIrOHxFeVJQk=; b=kAMuas5tLt85vzkUh2+ZstLFhMCgVc8c5y4hdE+q2/oLmCSf5UfUWdW2lSHxm8mGT2 EI4SGuzWEn7X8cbi02CG+GHHNzvOmpmMxgDThNaNJTk1aSR2hkAh9SO3un6l/Sd8I5j3 BlkoBy1aoHh09GF6OtofdtSdGpA9chDyzoKwRo4SQbhSs3jMYL28YDlmNBhWNiFiB9sR F/mmEJF8XLG9ZbbujdNBss4HSGKJ52ibO1093bUHRvslwQ99VdxFUAKa/bVO6mjoWE8L HxpnLGt0IvxRkDWv9x433KKHJ57TT3VgNr9L+QIxL7UErJXYx/y0HE7UJShvbdIhMLwv Pf5g== X-Gm-Message-State: ALoCoQlBLGUd3KSp/J66n9QoYtbJqP/3LmX0EtOqaCWHhGZdH60JzI6N1iqSyaIexuT5ckdE/WKO X-Received: by 10.50.164.167 with SMTP id yr7mr31895697igb.37.1410886638457; Tue, 16 Sep 2014 09:57:18 -0700 (PDT) Received: from pryzbyj ([50.244.222.1]) by mx.google.com with ESMTPSA id jj6sm1854258igb.15.2014.09.16.09.57.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Sep 2014 09:57:17 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id B3F7480145D; Tue, 16 Sep 2014 11:57:15 -0500 (CDT) Date: Tue, 16 Sep 2014 11:57:15 -0500 From: Justin Pryzby To: pgsql-bugs@postgresql.org Subject: pg_dump -Fd fails to detect ENOSPC Message-ID: <20140916165715.GA4560@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org pg_dump -Fc works correctly, but -Fd does not detect out of disk space condition (even if --jobs is not specified). Client and server version 9.3.5. sudo lvcreate -L 1M -n full data sudo mkfs.ext3 -j -m0 /dev/data/full sudo mkdir /srv/full sudo mount /dev/data/full /srv/full sudo chown postgres: /srv/full sudo -u postgres strace -xs3 pg_dump -t 'a*' ts -Fd -f /srv/full/x [...] write(4, "\x64\x63\x81"..., 1024) = 1024 write(4, "\x40\x58\xd7"..., 15360) = 7168 write(4, "\x8f\x71\xad"..., 8192) = -1 ENOSPC (No space left on device) write(4, "\x35\x33\xe7"..., 1024) = 1024 write(4, "\xd7\xe4\x0e"..., 15360) = -1 ENOSPC (No space left on device) write(4, "\x35\x33\xe7"..., 1024) = -1 ENOSPC (No space left on device) write(4, "\x35\x33\xe7"..., 1024) = -1 ENOSPC (No space left on device) poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "YST"..., 24430, 0, NULL, NULL) = 24430 write(4, "\x35\x33\xe7"..., 1024) = -1 ENOSPC (No space left on device) write(4, "\x35\x33\xe7"..., 1024) = -1 ENOSPC (No space left on device) write(4, "\x35\x33\xe7"..., 1024) = -1 ENOSPC (No space left on device) [...] -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs