Skip site navigation (1) Skip section navigation (2)

FreeBSD/mktemp bug with create index...fixed

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: FreeBSD/mktemp bug with create index...fixed
Date: 1998-02-21 19:23:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Found it:

Change, in backend/access/nbtree/nbtsort.c:

#define TAPETEMP                "pg_btsortXXXXXX"


#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 @ 
primary: scrappy(at)hub(dot)org           secondary: scrappy(at){freebsd|postgresql}.org 

pgsql-hackers by date

Next:From: Joao LeaoDate: 1998-02-21 21:57:30
Subject: [HACKERS] Unsubscribe
Previous:From: Bruce MomjianDate: 1998-02-21 18:26:54
Subject: Re: [PATCHES] Here it is - view permissions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group