X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id EC27F9F9CC1 for ; Wed, 3 May 2006 14:49:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 76016-05 for ; Wed, 3 May 2006 14:49:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 6A9669F9C1D for ; Wed, 3 May 2006 14:49:12 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k43HnBLm017709; Wed, 3 May 2006 13:49:11 -0400 (EDT) To: Mark Stosberg cc: pgsql-docs@postgresql.org Subject: Re: pg_dump docs should mention TMPDIR In-reply-to: References: Comments: In-reply-to Mark Stosberg message dated "Tue, 02 May 2006 12:47:36 -0000" Date: Wed, 03 May 2006 13:49:10 -0400 Message-ID: <17708.1146678550@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/4 X-Sequence-Number: 3531 Mark Stosberg 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