Thread

  1. FreeBSD/mktemp bug with create index...fixed

    Marc Fournier <scrappy@hub.org> — 1998-02-21T19:23:45Z

    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