Re: How large file is really large - pathconf results

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Reini Urban <rurban(at)x-ray(dot)at>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How large file is really large - pathconf results
Date: 2008-03-21 08:18:47
Message-ID: 47E36F67.2060500@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Reini Urban napsal(a):
>
> cygwin 1.5 on NTFS. But 1.7 will a have much larger _PC_PATH_MAX.
>
> _PC_FILESIZEBITS undefined _PC_LINK_MAX = 8 _PC_NAME_MAX = 260 _PC_PATH_MAX = 257
>
> So this is really bad.

Thanks for reporting. It seems not good because postgreSQL assumes that _PC_PATH_MAX
is minimal 1024 for all platforms. If this values is correct then user on cygwin can have a
trouble. Please, could you test postgres with a long PATH?


thanks Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-03-21 09:23:17 Commit Fest (was Re: Sort Refinement)
Previous Message Hans-Juergen Schoenig 2008-03-21 06:06:30 Re: [Fwd: Re: [PATCHES] 64-bit CommandIds]