1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-05 07:41:25 +03:00
#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
This commit is contained in:
Marc G. Fournier
1998-02-21 19:23:14 +00:00
parent ec9e44ab7c
commit aa7244ed01

View File

@@ -5,7 +5,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
@@ -85,7 +85,7 @@ static void _bt_uppershutdown(Relation index, BTPageState *state);
#define MAXTAPES (7) #define MAXTAPES (7)
#define TAPEBLCKSZ (BLCKSZ << 2) #define TAPEBLCKSZ (BLCKSZ << 2)
#define TAPETEMP "pg_btsortXXXXXX" #define TAPETEMP "pg_btsortXXXXXXX"
extern int NDirectFileRead; extern int NDirectFileRead;
extern int NDirectFileWrite; extern int NDirectFileWrite;