[HACKERS] Help needed in testing my code.

2003-05-28 Thread Srikanth M
Dear Sir, 


I want to know the compilaiton and execution of my 
code. Suppose if i add a test printf statement in the 
src/backend/tcop/postgres.c and after compilation and 
execution i should get that statement every time i give 
a query to psql.

After running make I even added the executables 
in the /usr/bin/ directory but i couldn't see the test 
statement after giving a query to psql.

please tell me the procedure of adding a test 
printf statement in postgres.c(or in any file), and 
compiling and running it so that i get the test statement 
as an output when i give the query.

Sincerely
Srikanth M








---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Re: [HACKERS] Help needed in testing my code.

2003-05-28 Thread Srikanth M
Dear Sir
I am new to postgres and dont know the excat procedure of 
testing my code, okay i will use elog, but please tell me the procedure 
of testing that. 

for example,pls tell what should i do after i add code, what make files 
should i run and where should i place the new executables.

Thanks for ur reply.

Srikanth.


 runOn 28 May 2003, 
Sailesh Krishnamurthy wrote:

> 
> Why don't you use elog(LOG, instead of printf ?
> 
> 

-- 
big fan of not reinventing the wheel - good programmers write code,
great programmers steal code ;-)



---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[HACKERS] DATA-CUBE in Postgresql.

2003-05-29 Thread Srikanth M
Hi!
I am interested in adding DATA-CUBE operator(Related to Data 
Warehousing) to postgresql. I just want to know wheather it is already 
added to postgres or not. please reply to this mail if you have already 
worked or still working on it.

Bye
Srikanth


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[HACKERS] Result of a query(Need Help)

2003-06-07 Thread Srikanth M
Hi!
Could anyone tell me where excatly the result of a query is stored 
after the query is passed to pg_exec_query_string function and before it 
is printed.

Please give me information about the Data structures where the result is 
stored

Bye
Srikanth




---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[HACKERS] Printing groupClause List

2003-06-12 Thread Srikanth M
Hi!
Can someone tell me where the Attribute name in the  of a given query are stored in the 'Query' structure.

I have seen a member in 'Query' structure
 
It is   List *groupClause, if the Attribute names are stored in this list, 
then how can we access the names present in it.

bye
srikanth


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


[HACKERS] informatoin reagarding the last date of submission

2003-06-23 Thread Srikanth M
Hi!
Can anyone give me the informatoin reagarding the last date of
submission of the code to be added in next version of pgsql.

bye
Srikanth



---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[HACKERS] How to use pset command in my program!!

2003-06-24 Thread Srikanth M
Hi!

I want to use 'pset'command in my program

it's like this.

I want to do the execute the following in my program.

\pset null 'ALL'

how can this be done

bye
srikanth


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[HACKERS] CODE SUBMISSION FOR NEXT RELEASE

2003-06-27 Thread Srikanth M

Hi

We have written code for a DATACUBE in PostgreSQL. We would like 
to know how and what to submit , and if there is some specific procedure 
to submit our work. Please tell us the e-mail ID we have to send the 
information to also.


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


[HACKERS] Urgent : Regarding Submission of Code

2003-06-29 Thread Srikanth M
Hi!
We have written two new files by name datacube.c in tcop directory 
and datacube.h in include directory. We have even changed some 
exsisting files. We have made a patch of the files that have been
changed. 

But how should we send the new files datacube.c, and datacube.h along with 
the patch. Is there any specific procedure to send the files we have 
written.

Please tell the procedure of submitting a new file along with the patch.

bye
Srikanth.




---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]