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

Re: [PERFORM] PostgreSQL overall design

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Gnanavel S <s(dot)gnanavel(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PERFORM] PostgreSQL overall design
Date: 2005-09-27 14:12:08
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-performance
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                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to


pgsql-performance by date

Next:From: Gnanavel SDate: 2005-09-27 14:20:35
Subject: Re: [PERFORM] PostgreSQL overall design
Previous:From: Gnanavel SDate: 2005-09-27 13:46:09
Subject: Re: PostgreSQL overall design

pgsql-hackers by date

Next:From: Dmitry KarasikDate: 2005-09-27 14:16:28
Subject: Re: prepared queries in plperl
Previous:From: Martijn van OosterhoutDate: 2005-09-27 14:08:11
Subject: Re: Questions about proper newline handling in psql output

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