summaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-08 02:46:39 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-08 02:46:39 +0000
commit70ce98b77a75a95a22d816139f4e763c405310ea (patch)
tree97c9aa0d9bd327e0a96a746a98e9bec264ec77df /src/backend/storage/file/fd.c
parent5035d7b9855bf43a1cb1c86fb842d6930cfb09db (diff)
Rename pg_temp to pg_sorttemp so it does not conflict with temp table names.
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 0f61f2be912..223b25646d8 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.42 1999/05/26 12:55:51 momjian Exp $
+ * $Id: fd.c,v 1.43 1999/07/08 02:46:39 momjian Exp $
*
* NOTES:
*
@@ -670,7 +670,7 @@ OpenTemporaryFile(void)
* transaction
*/
snprintf(tempfilename, sizeof(tempfilename),
- "pg_temp%d.%ld", (int) getpid(), tempFileCounter++);
+ "pg_sorttemp%d.%ld", MyProcPid, tempFileCounter++);
/* Open the file */
#ifndef __CYGWIN32__