Re: BUG #15460: Error while creating index or constraint - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: BUG #15460: Error while creating index or constraint
Date
Msg-id CAEepm=2BfpOChopLAXbO9t30SsGFnMXb6LbVq9B_cM=Emrw94g@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15460: Error while creating index or constraint  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: BUG #15460: Error while creating index or constraint  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-bugs
On Tue, Oct 30, 2018 at 4:15 AM Peter Geoghegan <pg@bowt.ie> wrote:
> > ERROR:  could not determine size of temporary file "0"

                filesize = BufFileSize(file);
                if (filesize < 0)
                        ereport(ERROR,
                                        (errcode_for_file_access(),
                                         errmsg("could not determine
size of temporary file \"%s\"", filename)));

Ahh.  I think we may be overflowing a 32 bit off_t on this platform.

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-bugs by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Fail to create PK or index for large table in Windows
Next
From: Pavel
Date:
Subject: Re: Fail to create PK or index for large table in Windows