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

@ -94,6 +94,8 @@ TYPES
* Allow array on int8[]
* Remove Money type, add money formatting for decimal type
* Fix typein/out functions to not be user-callable
* Add non-large-object binary field
* Add index on NUMERIC type
VIEWS
@ -161,7 +163,7 @@ MISC
* Show location of syntax error in query
* Redesign the function call interface to handle NULLs better(Jan)
* Document/trigger/rule so changes to pg_shadow create pg_pwd
* Missing optimizer selectivities for date, etc.
* Missing optimizer selectivities for date, r-tree, etc.
* Overhaul mdmgr/smgr to fix double unlinking and double opens, cleanup
* Overhaul bufmgr/lockmgr/transaction manager
* Tables that start with xinv confused to be large objects
@ -221,7 +223,8 @@ MISC
* fix memory leak in cache code when non-existant table is referenced
* In WHERE x=3 AND x=y, add y=3
* pass atttypmod through parser in more cases(Bruce)
* remov
* remove duplicate type in/out functions for disk and net
SOURCE CODE
-----------
* Add use of 'const' for varibles in source tree

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.88 1999/06/16 11:01:17 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.89 1999/07/08 02:46:37 momjian Exp $
*
*
* INTERFACE ROUTINES
@ -254,7 +254,7 @@ heap_create(char *relname,
{
/* replace relname of caller */
snprintf(relname, NAMEDATALEN, "pg_temp.%d.%u",
(int) MyProcPid, uniqueId++);
MyProcPid, uniqueId++);
}
/* ----------------

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__