Re: Compile and test in netbeans - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Compile and test in netbeans
Date
Msg-id 528C6B9E.2060103@2ndquadrant.com
Whole thread Raw
In response to Compile and test in netbeans  (Rohit Goyal <rhtgyl.87@gmail.com>)
List pgsql-hackers
On 11/18/2013 02:06 AM, Rohit Goyal wrote:
> Hi All, 
> 
> I want to modify postgresql code for the first time. 
> I tried to use netbeans to compile the code. 

If you are doing something for the first time, do it exactly how the
documentation advises.

Once you've got it working that way, *THEN* you can try to vary what
you're doing.

http://www.postgresql.org/docs/current/static/install-procedure.html

> Please tel me the procedure to run and print using printf().

http://google.com/search?q=printf

"man printf"

However, that's not how PostgreSQL does it. Look at the "elog" and
"ereport" functions. As usual, it's in the documentation:

http://www.postgresql.org/docs/current/static/error-message-reporting.html

You'll find this useful too:

http://doxygen.postgresql.org/

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: CREATE TABLE IF NOT EXISTS AS
Next
From: Craig Ringer
Date:
Subject: Re: CREATE TABLE IF NOT EXISTS AS