Re: [HACKERS] IndexBuild Function call fcinfo cannot access memory

2017-01-26 Thread Jia Yu
ABCbuild function. I believe there are some special settings in Postgres regression test program "src/test/regress/pg_regress.c" but I haven't found it. *These special settings will make Postgres regression test tolerates some memory errors. * Hope this will help you! Thanks, Jia Yu

Re: [HACKERS] IndexBuild Function call fcinfo cannot access memory

2017-01-23 Thread Jia Yu
po_tbl where id2>10 and id2 <101000; delete from hippo_tbl where id2>10 and id2 <101000; VACUUM; select count(*) from hippo_tbl where id2>10 and id2 <101000; drop index hippo_idx; drop table hippo_tbl; -- Any help will be appreciate

Re: [HACKERS] IndexBuild Function call fcinfo cannot access memory

2017-01-23 Thread Jia Yu
Dear Tom, BTW, my current implementation is on PG 9.5... Thanks, Jia Yu Jia Yu, Ph.D. Student Computer Science Arizona State University <http://www.asu.edu/> Reach me via Jia Yu's Homepage <http://www.public.asu.edu/~jiayu2/> | GitHub Reposit

Re: [HACKERS] IndexBuild Function call fcinfo cannot access memory

2017-01-23 Thread Jia Yu
*) PG_GETARG_POINTER(2); IndexBuildResult *result; double reltuples; HippoBuildState buildstate; Buffer buffer; .. -- Any hints for this will be greatly appreciated! Thank you very much! Jia Yu On Mon, Jan 23, 2017 at 2:00 PM, Tom Lane <t...@sss.pgh.

[HACKERS] IndexBuild Function call fcinfo cannot access memory

2017-01-23 Thread Jia Yu
Dear hackers, Currently, I am developing a backend index access method for my research project. I built corresponding routines such as MyIndexbuild, MyIndexInsert, and so on and put them in "src/backend/access/hippo" (hippo is my index's name). I also added new entries in corresponding catalog