pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: pg_dump and disk full
Date: Sat, 01 Sep 2018 10:43:55 -0400
Message-ID: <30150.1535813035@sss.pgh.pa.us> (raw)
In-Reply-To: <b198f06b-e278-fddc-2997-5b04eb71852a@gmail.com>
References: <b198f06b-e278-fddc-2997-5b04eb71852a@gmail.com>

Ron <ronljohnsonjr@gmail.com> writes:
> Will the v9.6 pg_dump exit with a non-zero exit code if the dump volume runs 
> out of space?

It'll report any error reported by fwrite/fputc/fclose.  But we didn't
add a forced fsync of the output file till later, so perhaps there are
some filesystems where you might not find out about trouble ...

			regards, tom lane




view thread (2+ messages)

Message-ID: <30150.1535813035@sss.pgh.pa.us>
Permalink:  ../30150.1535813035@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30150.1535813035@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_dump and disk full
  In-Reply-To: <30150.1535813035@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox