Skip site navigation (1) Skip section navigation (2)

PostgreSQL overall design

From: Gnanavel S <s(dot)gnanavel(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: PostgreSQL overall design
Date: 2005-09-27 09:50:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-performance
Hi All,

Can anyone please tell/point me where I can get the postgresql system layout
(I've an interest to contribute). I would also like to know the files
involved for performing each task ( for eg when doing a select operation
what is exactly happening in postgres along with the files).

I was wandering inside the source for a while and I couldn't get a start
point to go with.

Need a clarification in copydir.c file of src/port directory, In the
following snippet the destination directory is created first then the source
directory is read. Suppose if I don't have permission to read the source,
even then the destination directory would be created.
I just want to know whether there is any reason for doing so?

if (mkdir(todir, S_IRUSR | S_IWUSR | S_IXUSR) != 0)
errmsg("could not create directory \"%s\": %m", todir)));

xldir = AllocateDir(fromdir);
if (xldir == NULL)
errmsg("could not open directory \"%s\": %m", fromdir)));

with thanks & regards,
Satyam Computer Services Ltd.


pgsql-performance by date

Next:From: Abhijit Menon-SenDate: 2005-09-27 10:27:01
Subject: Re: PostgreSQL overall design
Previous:From: Ahmad FajarDate: 2005-09-27 09:39:55
Subject: Re: Query seem to slow if table have more than 200 million rows

pgsql-hackers by date

Next:From: Andrey RepkoDate: 2005-09-27 10:15:53
Subject: Strange, very strange
Previous:From: Qingqing ZhouDate: 2005-09-27 08:24:14
Subject: Re: unchecked malloc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group