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: Pine.BSF.3.96.980221143757.12921N-100000@thelab.hub.org (view raw or flat)
Thread:
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(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-2014 The PostgreSQL Global Development Group