From: | "Jon Nelson" <jnelson(at)jamponi(dot)net> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #5384: pg_dump hard-codes use of /tmp |
Date: | 2010-03-19 16:56:49 |
Message-ID: | 201003191656.o2JGunds034382@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 5384
Logged by: Jon Nelson
Email address: jnelson(at)jamponi(dot)net
PostgreSQL version: 8.4.2
Operating system: openSUSE 11.2
Description: pg_dump hard-codes use of /tmp
Details:
I was trying to dump a database (with --format=tar).
I noticed I kept running out of space, but that should not have been - I was
dumping to a filesystem with plenty of space.
strace to the rescue!
strace shows me that pg_dump is using /tmp - hardcoded because my TMPDIR
environment variable does *not* point to /tmp.
So, there are two issues:
1. why is pg_dump using a temporary directory (other than the $CWD) anyway?
2. More importantly, why is pg_dump ignoring TMPDIR ?
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-03-19 19:38:04 | Re: segfault in pg 8.4, CurrentResourceOwner == NULL while processing SIGTERM |
Previous Message | Roberto Rivera Mardones | 2010-03-19 15:29:07 | BUG #5383: Problemas con GROUP BY |