Re: Which file does the SELECT?

From: David Christensen <david(at)endpoint(dot)com>
To: Vaibhav Kaushal <vaibhavkaushal123(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Which file does the SELECT?
Date: 2010-10-11 02:25:53
Message-ID: 1CFE45FC-BC51-4F40-8DAB-45EC9A4A421A@endpoint.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Oct 10, 2010, at 12:21 PM, Vaibhav Kaushal wrote:

> Thanks to both hitoshi and tom for your replies.
>
> I think I need to look into the Postgres code itself (I am better at code than documentation). But since I have not been touch with C lately (these days I am programming on PHP) I think I have forgot a few rules of game (afterall PHP is so much more easy than C :P ). Moreover, postgres is the first Open Source software whose code I am interested in. I have never looked into other OSS codes much except correcting a few compilation errors here and there on beta / alpha releases.
>
> I have had the chance and success to compile my own Linux OS and it was fun to do so... but I guess development is a tougher job. With an idea in mind, and a thankful feeling towards postgres is what drives me to do this tougher job.
>
> When I was designing my database for a web app, I found so many problems in MySQL that I could not continue (the best of all, I can't use the commands written in my DB book to create a foreign key, it does not natively support foreign keys, confusing storage engines and so on).. and then I got postgres which I am a fan of.
>
> I hope I will not be flamed when I will ask those questions (some of them are actually very silly ones).
>
> I will look inside the code now and will get back after i get some progress with it.
>
> However, I find too many references to the Data structure "datum" what is it and where is it defined? Can someone tell me please? Also, what role does it play?
>
> Thanks to you all for your replies.
>
> -Vaibhav

Depending on your text editor, you may be able to utilize TAGS files; see src/tools/make_(e|c)tags for creating TAGS files for your editor of choice (emacs/vim, although other editors may support specific formats). This will allow you to navigate to the specific definition of the type/function/macro, and can be very enlightening and help answer some of these questions. `git grep` will also come in handy if you're working directly from a git checkout.

Regards,

David
--
David Christensen
End Point Corporation
david(at)endpoint(dot)com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mladen Gogala 2010-10-11 03:14:43 Re: Slow count(*) again...
Previous Message Craig Ringer 2010-10-11 00:51:43 Re: Slow count(*) again...