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=2HVHTCXt0eqnxBt5W4uABzTAcCxFexLiMHPd0oNQckFA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15460: Error while creating index or constraint  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-bugs
On Wed, Nov 14, 2018 at 9:12 AM Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> On Wed, Nov 14, 2018 at 6:50 AM Peter Geoghegan <pg@bowt.ie> wrote:
> > I think that int64 is the way to go.

Thanks.  Pushed to master and 11.

If anyone with a Windows system would like to verify that the problem
is fixed, I found the following test case by changing BufFileSize()
and ltsConcatWorkerTapes() to use int32 instead of off_t so I see the
error too:

create table t as select generate_series(1, 100000000) i, 'hello
world, this is a test' v;
create index on t (i, v);

I expect that test case to fail on Windows before today's commit.

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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15506: Foreign data wrapper (postgres_fdw) unexpected behavior
Next
From: PG Bug reporting form
Date:
Subject: BUG #15507: undefined symbol: geod_polygon_init