From: Alvaro Herrera <alvherre@surnet.cl>
To: Vamsi Krishna G <vamsikrishna@students.iiit.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Create relation
Date: Tue, 31 May 2005 16:09:28 -0400
Message-ID: <20050531200928.GE9257@surnet.cl> (raw)
In-Reply-To: <Pine.LNX.4.61.0505281417560.20347@students.iiit.ac.in>
References: <Pine.LNX.4.61.0505281417560.20347@students.iiit.ac.in>
On Sat, May 28, 2005 at 02:23:05PM +0530, Vamsi Krishna G wrote:
> i am new postgress.i need some help.i have pgs-8.0.3 source code.
> i want to study pgs source code.can any body help which files should i
> study and form where should i start .first of all i want to know how
> CREATE RELATION is happening in pgsql.In which file i can find this.
All server code is in src/backend. The parsing code is in
src/backend/parser, and from there there is a complicated path that will
lead to code in src/backend/tcop/utility.c, and from there to
src/backend/commands/tablecmds.c (DefineRelation I think)
This question is not on-topic in pgsql-admin anyway; you should be
asking on -hackers, I think.
Also, the name of the server is PostgreSQL; shortened to Postgres by
historic reasons, to PgSQL sometimes, and even Pg. I haven't ever seen
nobody use "pgs".
--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"People get annoyed when you try to debug them." (Larry Wall)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: alvherre@surnet.cl, vamsikrishna@students.iiit.net
Subject: Re: Create relation
In-Reply-To: <20050531200928.GE9257@surnet.cl>
References: <Pine.LNX.4.61.0505281417560.20347@students.iiit.ac.in> <20050531200928.GE9257@surnet.cl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox