Re: contrib/cache_scan (Re: What's needed for cache-only table scan?)
От | Kouhei Kaigai |
---|---|
Тема | Re: contrib/cache_scan (Re: What's needed for cache-only table scan?) |
Дата | |
Msg-id | 9A28C8860F777E439AA12E8AEA7694F8F7E7A8@BPXM15GP.gisp.nec.co.jp обсуждение исходный текст |
Ответ на | Re: contrib/cache_scan (Re: What's needed for cache-only table scan?) (Haribabu Kommi <kommi.haribabu@gmail.com>) |
Ответы |
Re: contrib/cache_scan (Re: What's needed for cache-only
table scan?)
|
Список | pgsql-hackers |
Thanks for your testing, > 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". > It seems to me you applied only part-1 portion of the custom-scan patches. The get_restriction_qual_cost() is re-defined as extern function, from static one, on the part-2 portion (ctidscan) to estimate cost value of the qualifiers in extension. Also, bms_to_string() and bms_from_string() are added on the part-3 portion (postgres_fdw) portion to carry a bitmap-set according to the copyObject manner. It may make sense to include the above supplemental changes in the cache- scan feature also, until either of them getting upstreamed. Thanks, -- NEC OSS Promotion Center / PG-Strom Project KaiGai Kohei <kaigai@ak.jp.nec.com> > -----Original Message----- > From: Haribabu Kommi [mailto:kommi.haribabu@gmail.com] > Sent: Tuesday, February 25, 2014 8:16 AM > To: Kohei KaiGai > Cc: Kaigai, Kouhei(海外, 浩平); Tom Lane; PgHacker; Robert Haas > Subject: Re: contrib/cache_scan (Re: [HACKERS] What's needed for cache-only > table scan?) > > On Mon, Feb 24, 2014 at 2:41 PM, Haribabu Kommi <kommi.haribabu@gmail.com> > wrote: > > > On Fri, Feb 21, 2014 at 2:19 AM, Kohei KaiGai <kaigai@kaigai.gr.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
В списке pgsql-hackers по дате отправления: