pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <mha@sollentuna.net>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org, "Yoshiyuki Asaba" <y-asaba@sraoss.co.jp>
Subject: Re: pg_dump -Ft failed on Windows XP
Date: Thu, 20 Apr 2006 13:55:21 -0400
Message-ID: <26304.1145555721@sss.pgh.pa.us> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA0F91E@algol.sollentuna.se>
References: <6BCB9D8A16AC4241919521715F4D8BCEA0F91E@algol.sollentuna.se>

"Magnus Hagander" <mha@sollentuna.net> writes:
>> Apparently it won't work at all if TMP 
>> isn't set?

> I'm not *too* concerned about that, since TMP is normally set by the OS
> itself. There's one set in the "system environment" (to c:\windows\temp
> or whatrever) and then it's overridden by one set by the OS when it
> loads a user profile.

OK, then maybe not having it would be equivalent to /tmp-not-writable
on Unix, ie, admin error.

> Also to the point, what would you fall back to?

Current directory maybe?

Actually, the thing that struck me about the man page was that first
it said current dir was a fallback, and then it said it wasn't.  Is this
just typical Microsoft brain damage, or is there a reason to avoid using
current dir for this?

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <26304.1145555721@sss.pgh.pa.us>
Permalink:  ../26304.1145555721@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26304.1145555721@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mha@sollentuna.net, peter_e@gmx.net, y-asaba@sraoss.co.jp
  Subject: Re: pg_dump -Ft failed on Windows XP
  In-Reply-To: <26304.1145555721@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