new AM, build returns error - Mailing list pgsql-hackers

From Yves Weißig
Subject new AM, build returns error
Date
Msg-id 4DB88049.8070604@rbg.informatik.tu-darmstadt.de
Whole thread Raw
List pgsql-hackers
Hi,

my new AM starts working..., calling something like

CREATE INDEX idx ON films USING ebi (did)

returns now:

ERROR:  unexpected EBI relation size: 3, should be 4294967295

The second argument looks for me like max uint32... there might be
somehting wrong here I think? Is there somehting wrong with:

estimate_rel_size(heap, NULL, &relpages, &reltuples);

The state is passed to the build callback again and again... and
result->heap_tuples = reltuples; takes the estimated number of tuples.
Where is the error?

I know that this is a rather complicated question, due to no source code.

Greetz, Yves


pgsql-hackers by date:

Previous
From: Daniel Farina
Date:
Subject: Re: Introduction
Next
From: Alvaro Herrera
Date:
Subject: Re: make world fails