Re: Initdb not running on beos

Cyril VELTER <cyril.velter@libertysurf.fr>

From: Cyril VELTER <cyril.velter@libertysurf.fr>
To: pgsql-hackers@postgreSQL.org
Date: 2000-11-27T20:36:40Z
Lists: pgsql-hackers

    Unfortunatly, there is no hard link on beos :=(. link and unlink are 
there, but link always return "No such file or directory".

    BTW, What the code in XLogFileInit is supposed to do ? Why not create the 
file with the right name in the first step ?

    I have tried to create the file whith the right name and remove all link/
unlink. After that, initdb does works but after I have a quite strange 
behavior :    
    * Every select return 0 row (the columns are there, but no datas)
    * Every create  or insert crash the backend.
    * If I do nothing, the backend will crash after some minutes
    
    is it related to the first hack ? or is there something else ?


            cyril


>Cyril VELTER <cyril.velter@libertysurf.fr> writes:
>> FATAL 2:  InitReopen(logfile 0 seg 0) failed: No such file or directory
>
>Does BeOS not support link(2) ?
>
>See XLogFileInit() in src/backend/access/transam/xlog.c.
>
>			regards, tom lane
>