pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Gnanavel S <s.gnanavel@gmail.com>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] PostgreSQL overall design
Date: Tue, 27 Sep 2005 10:12:08 -0400 (EDT)
Message-ID: <200509271412.j8REC8u04704@candle.pha.pa.us> (raw)
In-Reply-To: <eec3b03c0509270250bc2fc97@mail.gmail.com>


Have you read the developers FAQ?

---------------------------------------------------------------------------

Gnanavel S wrote:
> 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)
> ereport(ERROR,
> (errcode_for_file_access(),
> errmsg("could not create directory \"%s\": %m", todir)));
> 
> xldir = AllocateDir(fromdir);
> if (xldir == NULL)
> ereport(ERROR,
> (errcode_for_file_access(),
> errmsg("could not open directory \"%s\": %m", fromdir)));
> 
> 
> 
> --
> with thanks & regards,
> S.Gnanavel
> Satyam Computer Services Ltd.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (10+ messages)  latest in thread

Message-ID: <200509271412.j8REC8u04704@candle.pha.pa.us>
Permalink:  ../200509271412.j8REC8u04704@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200509271412.j8REC8u04704@candle.pha.pa.us

 · 

reply

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-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, s.gnanavel@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] PostgreSQL overall design
  In-Reply-To: <200509271412.j8REC8u04704@candle.pha.pa.us>
  References: <eec3b03c0509270250bc2fc97@mail.gmail.com> <200509271412.j8REC8u04704@candle.pha.pa.us>

* 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