pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Stosberg <mark@summersault.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: pg_dump docs should mention TMPDIR
Date: Wed, 03 May 2006 13:49:10 -0400
Message-ID: <17708.1146678550@sss.pgh.pa.us> (raw)
In-Reply-To: <slrne5eona.aki.mark@simba.summersault.com>
References: <slrne5eona.aki.mark@simba.summersault.com>

Mark Stosberg <mark@summersault.com> writes:
> A suggested addition to the pg_dump docs:
> This would be an extension to the documentation for the "tar" format:

> The tar format needs some space to create temporary files. By default
> "/tmp" is used. On systems with small "/tmp" partitions, set the
> "TMPDIR" environment variable to a location with more space, such as
> "/usr/tmp".

There is no reference to TMPDIR in the pg_dump code.  It may be that
tmpfile() pays attention to such an environment variable on your
machine, but there's nothing about it in the Single Unix Spec.

> Also, I would like it if the pg_dump docs more assertively recommended
> one of the "tar" or "custom" formats. They seem very similiar.

Yeah.  I think it should specifically recommend custom format.  The only
reason for using tar format would be if you want to process the file
later with something other than pg_restore.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <17708.1146678550@sss.pgh.pa.us>
Permalink:  ../17708.1146678550@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17708.1146678550@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-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mark@summersault.com
  Subject: Re: pg_dump docs should mention TMPDIR
  In-Reply-To: <17708.1146678550@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