freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Freebcp 2GB file limit
- Date: Thu, 28 Oct 2004 16:15:03 +0200
>
> On Thu, 2004-10-28 at 15:35, Thompson, Bill D (London) wrote:
> > Tom,
> >
> > That's not a freebcp message , as far as I know.
> > There is a file size limit on your operating system, probably.
> > I have run into the same problem with Sybase "bcp" in Solaris.
>
> Actually it's a bit of both. I think you need to use special calls or
> flags to handle >2GB files.
>
> Checking the open(2) man page on linux I see the O_LARGEFILE flag, for
> example.
>
> Michael
>
Better, from fseeko(3)
On many architectures both off_t and long are 32-bit types, but
compi-
lation with
#define _FILE_OFFSET_BITS 64
will turn off_t into a 64-bit type.
I don't see nothing wrong using _FILE_OFFSET_BITS by default in FreeTDS.
freddy77
-
[freetds] Freebcp 2GB file limit,
Thomas A. Lowery, 10/28/2004
- <Possible follow-up(s)>
-
RE: [freetds] Freebcp 2GB file limit,
Thompson, Bill D (London), 10/28/2004
-
RE: [freetds] Freebcp 2GB file limit,
Michael Peppler, 10/28/2004
- Re: [freetds] Freebcp 2GB file limit, Shaun Craig, 10/28/2004
- Re: [freetds] Freebcp 2GB file limit, James K . Lowden, 10/28/2004
- RE: [freetds] Freebcp 2GB file limit, Thomas A. Lowery, 10/28/2004
-
RE: [freetds] Freebcp 2GB file limit,
Michael Peppler, 10/28/2004
- RE: [freetds] Freebcp 2GB file limit, ZIGLIO, Frediano, VF-IT, 10/28/2004
Archive powered by MHonArc 2.6.24.