Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 70ce98b

Browse files
committed
Rename pg_temp to pg_sorttemp so it does not conflict with temp table names.
1 parent 5035d7b commit 70ce98b

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

doc/TODO

+5-2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ TYPES
9494
* Allow array on int8[]
9595
* Remove Money type, add money formatting for decimal type
9696
* Fix typein/out functions to not be user-callable
97+
* Add non-large-object binary field
98+
* Add index on NUMERIC type
9799

98100
VIEWS
99101

@@ -161,7 +163,7 @@ MISC
161163
* Show location of syntax error in query
162164
* Redesign the function call interface to handle NULLs better(Jan)
163165
* Document/trigger/rule so changes to pg_shadow create pg_pwd
164-
* Missing optimizer selectivities for date, etc.
166+
* Missing optimizer selectivities for date, r-tree, etc.
165167
* Overhaul mdmgr/smgr to fix double unlinking and double opens, cleanup
166168
* Overhaul bufmgr/lockmgr/transaction manager
167169
* Tables that start with xinv confused to be large objects
@@ -221,7 +223,8 @@ MISC
221223
* fix memory leak in cache code when non-existant table is referenced
222224
* In WHERE x=3 AND x=y, add y=3
223225
* pass atttypmod through parser in more cases(Bruce)
224-
* remov
226+
* remove duplicate type in/out functions for disk and net
227+
225228
SOURCE CODE
226229
-----------
227230
* Add use of 'const' for varibles in source tree

src/backend/catalog/heap.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.88 1999/06/16 11:01:17 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.89 1999/07/08 02:46:37 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -254,7 +254,7 @@ heap_create(char *relname,
254254
{
255255
/* replace relname of caller */
256256
snprintf(relname, NAMEDATALEN, "pg_temp.%d.%u",
257-
(int) MyProcPid, uniqueId++);
257+
MyProcPid, uniqueId++);
258258
}
259259

260260
/* ----------------

src/backend/storage/file/fd.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Id: fd.c,v 1.42 1999/05/26 12:55:51 momjian Exp $
9+
* $Id: fd.c,v 1.43 1999/07/08 02:46:39 momjian Exp $
1010
*
1111
* NOTES:
1212
*
@@ -670,7 +670,7 @@ OpenTemporaryFile(void)
670670
* transaction
671671
*/
672672
snprintf(tempfilename, sizeof(tempfilename),
673-
"pg_temp%d.%ld", (int) getpid(), tempFileCounter++);
673+
"pg_sorttemp%d.%ld", MyProcPid, tempFileCounter++);
674674

675675
/* Open the file */
676676
#ifndef __CYGWIN32__

0 commit comments

Comments
 (0)