Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect pg temporary file

Status
Not open for further replies.

belc

Programmer
Joined
Jul 22, 2002
Messages
1
Location
CA
SCO Openserver Release 5:
I am trying to redirect the temporary file created by pg when used with a pipe. Typically a temporary file is found in /tmp, but when the file grows too large, I am finding that it is filling the root partition. I would like to redirect the temporary file to a larger partition. I have tried setting the environment variable TMPDIR, and when I type env to check it, it is set to the new directory, but when I do a pg, it still creates the temporary file in /tmp, not in the directory set in TMPDIR.
 
You can't up to version 5.0.5 as far as I know (Hardcoded).

Not sure about 5.0.7 though.

Solution will be to mount the /tmp on another HD




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top