Re: Where should I start for learn development - Mailing list pgsql-general

From Craig Ringer
Subject Re: Where should I start for learn development
Date
Msg-id 4FF2F467.40203@ringerc.id.au
Whole thread Raw
In response to Where should I start for learn development  (AI Rumman <rummandba@gmail.com>)
Responses Re: Where should I start for learn development  (AI Rumman <rummandba@gmail.com>)
List pgsql-general
On 07/03/2012 07:50 PM, AI Rumman wrote:
Hello,

I have been working with Postgresql for the last 3 years. Before that I worked with Oracle, Mysql and other databases. 
Now, its time to learn the internals of Postgresql system. I downloaded the source code and imported it in my eclipse environment.
But I have very limited knowledge on C programming. 
Could you guys please guide me from where I should start?

If you really want to start messing with the Pg innards, and you have already read and understood all the developer documentation, I'd suggest starting by writing some simple user defined functions in C. Write a simple function that returns a plain value. Then a record. Then a set of records. Then write an aggregate function. Then a window function. Dig into the data structures and types. When you're game, implement a simple data type. Then add support for indexing it. etc.

Honestly, if you don't have something you want to _achieve_ it's probably mostly going to be boring. What do you want to do, to get out of this?

--
Craig Ringer

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: errors with high connections rate
Next
From: Adrian Klaver
Date:
Subject: Re: ERROR: function crosstab(unknown, unknown) does not exist