FreeBSD/mktemp bug with create index...fixed
Marc Fournier <scrappy@hub.org>
From: The Hermit Hacker <scrappy@hub.org>
To: pgsql-hackers@postgresql.org
Date: 1998-02-21T19:23:45Z
Lists: pgsql-hackers
Found it:
Change, in backend/access/nbtree/nbtsort.c:
#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
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org