[HACKERS] how to add my source file?

2006-12-27 Thread dakotali kasap
Hi, I want to add my .c and .h source files into the postgresql project. What kind of changes should I make with the Makefiles. It seems that, it is not enough just to add the object file of the C files into the Makefile. Can anyone help to me please? kind regards, dakotali

Re: [HACKERS] how to add my source file?

2006-12-27 Thread dakotali kasap
/pg_list.h or nodes/nodes.h) in my_writer.c, it gives me compile errors that are related with these header files of postgresql, although there is no problem. Do you know why? regards, dakotali dakotali kasap wrote: Hi, I want to add my .c and .h source files into the postgresql project. What

Re: [HACKERS] how to add my source file?

2006-12-27 Thread dakotali kasap
I added the object file my_writer.o to the Makefile inside backend/parser/Makefile and configured again, but it did not work, what else should I do? regards, dakotali Andrew Dunstan [EMAIL PROTECTED] wrote: dakotali kasap wrote: Hi, I have one source and one header file which

Re: [HACKERS] how to add my source file?

2006-12-27 Thread dakotali kasap
: #include postgres.h You will see that all our backend files follow this rule. --- dakotali kasap wrote: Sorry I did not want to bother you with the details, I just thought that there is smth that I have to do apart from

[HACKERS] cannot add to postgresql project my own source files

2006-12-23 Thread dakotali kasap
Hi, I want to write a function that takes the raw parsetree and rewrites it according to my rules, then produce new raw parsetrees. I will call this function inside backend/tcop/postgres.c . I wrote an header file called my_rewriter.h and include this inside postgres.c. my_writer.h looks

Re: [HACKERS] development environment of postgres

2006-12-17 Thread dakotali kasap
] Cc: pgsql-hackers@postgresql.org Sent: Sunday, December 17, 2006 5:21:33 PM Subject: Re: [HACKERS] development environment of postgres Chris Browne wrote: [EMAIL PROTECTED] (dakotali kasap) writes: I want to ask, which development environment should I use to add new features to postgresql

[HACKERS] development environment of postgres

2006-12-16 Thread dakotali kasap
Hi, I want to ask, which development environment should I use to add new features to postgresql. Is Eclipse CDT (C/C++ Development Tool) suitable for this, or are you using another environment, or just using pico, vi, etc.? Regards, __ Do

[HACKERS] printing the query plan?

2006-10-27 Thread dakotali kasap
Hi,I want to print the query-plan that will be used before the execution of the query. Therefore put this line at the beginning of the ExecutorStart() function located in execMain.c :print_plan(queryDesc-plantree,queryDesc-parsetree);However, it did not work. What I want to ask is:1. Does

Re: [HACKERS] printing the query plan?

2006-10-27 Thread dakotali kasap
Hi, I want to print the query-plan that will be used before the execution of the query. Therefore put this line at the beginning of the ExecutorStart() function located in execMain.c : print_plan(queryDesc-plantree,queryDesc-parsetree); print_plan writes to stdout, did you check where that is

Re: [HACKERS] Want to use my own query-plan

2006-10-21 Thread dakotali kasap
-method that will be used or which relation will be outer which one will be inner. (I cannot do this just using SELECT * FROM a JOIN b).Baran- Original Message From: Neil Conway [EMAIL PROTECTED]To: dakotali kasap [EMAIL PROTECTED]Cc: PostgreSQL Hackers pgsql-hackers@postgresql.orgSent

[HACKERS] Want to use my own query-plan

2006-10-20 Thread dakotali kasap
Hi everybody,I have started to work on a project that will be implemented on top of Postgresql. Therefore, I have to warm up with postgresql's internals. I downloaded the source code and currently looking at it. But I have some questions?1. How can I prepare my own query plan? (I will need this