1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Rename pg_temp to pg_sorttemp so it does not conflict with temp table names.

This commit is contained in:
Bruce Momjian
1999-07-08 02:46:39 +00:00
parent 5035d7b985
commit 70ce98b77a
3 changed files with 9 additions and 6 deletions

View File

@ -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__