]> granicus.if.org Git - postgresql/commitdiff
Change:
authorMarc G. Fournier <scrappy@hub.org>
Sat, 21 Feb 1998 19:23:14 +0000 (19:23 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sat, 21 Feb 1998 19:23:14 +0000 (19:23 +0000)
#define TAPETEMP                "pg_btsortXXXXXX"

to:

#define TAPETEMP                "pg_btsortXXXXXXX"

For some reason, under FreeBSD, it appears that the mktemp() value needs the
extra 'X' to improve/ensure uniqueness

src/backend/access/nbtree/nbtsort.c

index 0ffaa5330ec68a1c61654971aecf6d1b24eaede3..d52d79ce52d088627b52f47b5c3eb04e91fab4e2 100644 (file)
@@ -5,7 +5,7 @@
  *
  *
  * IDENTIFICATION
- *       $Id: nbtsort.c,v 1.27 1998/01/13 04:03:41 scrappy Exp $
+ *       $Id: nbtsort.c,v 1.28 1998/02/21 19:23:14 scrappy Exp $
  *
  * NOTES
  *
@@ -85,7 +85,7 @@ static void _bt_uppershutdown(Relation index, BTPageState *state);
 
 #define MAXTAPES               (7)
 #define TAPEBLCKSZ             (BLCKSZ << 2)
-#define TAPETEMP               "pg_btsortXXXXXX"
+#define TAPETEMP               "pg_btsortXXXXXXX"
 
 extern int     NDirectFileRead;
 extern int     NDirectFileWrite;