Re: contrib/cache_scan (Re: What's needed for cache-only table scan?)

From: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
To: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>
Cc: Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PgHacker <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: contrib/cache_scan (Re: What's needed for cache-only table scan?)
Date: 2014-02-24 23:15:54
Message-ID: CAJrrPGef6PNZkd5X17hjD6XouZ97toF4fpuc70-gh+6Q=7M1dA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 24, 2014 at 2:41 PM, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>wrote:

> On Fri, Feb 21, 2014 at 2:19 AM, Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp> wrote:
>
>> Hello,
>>
>> The attached patch is a revised one for cache-only scan module
>> on top of custom-scan interface. Please check it.
>>
>
> I will start regress and performance tests. I will inform you the same
> once i finish.
>

Getting some compilation warnings while compiling the extension and also I
am not able to load the extension because of undefined symbol
"get_restriction_qual_cost".

cscan.c: In function 'cs_estimate_costs':
cscan.c:163: warning: implicit declaration of function
'get_restriction_qual_cost'
cscan.c: In function 'cs_add_scan_path':
cscan.c:437: warning: implicit declaration of function 'bms_to_string'
cscan.c:437: warning: passing argument 1 of 'makeString' makes pointer from
integer without a cast
cscan.c: In function 'cs_begin_custom_scan':
cscan.c:493: warning: implicit declaration of function 'bms_from_string'
cscan.c:493: warning: assignment makes pointer from integer without a cast

FATAL: could not load library "/postgresql/cache_scan.so":
/postgresql/cache_scan.so: undefined symbol: get_restriction_qual_cost

Regards,
Hari Babu
Fujitsu Australia

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-02-24 23:16:05 Re: Changeset Extraction v7.7
Previous Message Peter Geoghegan 2014-02-24 23:05:37 Re: Another possible corruption bug in 9.3.2 or possibly a known MultiXact problem?