X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7D1AFD9921 for ; Tue, 27 Sep 2005 10:46:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67096-04 for ; Tue, 27 Sep 2005 13:46:05 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by svr1.postgresql.org (Postfix) with ESMTP id 3CA2CD98DB for ; Tue, 27 Sep 2005 10:46:05 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 40so654267nzk for ; Tue, 27 Sep 2005 06:46:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qHvzajCp8EAUpx5nO5XniB3ECCmc5b9mS5y+f/JooDqbv0OzYowUuOOxQnLYJ++lfkFkQYCVaXvZ4qXTN0bXK9ue68iOf80aEN6RSCl26eXfcT5S0bbVtCwYQ/XAI7FSgryNEH0uhNCon1JlR32iyXE/DIl3/aRobVl+Siq5e4I= Received: by 10.36.101.9 with SMTP id y9mr421633nzb; Tue, 27 Sep 2005 06:46:09 -0700 (PDT) Received: by 10.36.120.14 with HTTP; Tue, 27 Sep 2005 06:46:09 -0700 (PDT) Message-ID: Date: Tue, 27 Sep 2005 19:16:09 +0530 From: Gnanavel S Reply-To: Gnanavel S To: Andrew Dunstan Subject: Re: PostgreSQL overall design Cc: pgsql-hackers@postgresql.org In-Reply-To: <4339444F.6010101@dunslane.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1368_22583971.1127828769159" References: <4339444F.6010101@dunslane.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.255 required=5 tests=[AWL=0.174, HTML_30_40=0.056, HTML_MESSAGE=0.001, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200509/1282 X-Sequence-Number: 73679 ------=_Part_1368_22583971.1127828769159 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/27/05, Andrew Dunstan wrote: > > > [ -performance removed ] > > Gnanavel S wrote: > > > > > 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? > > > > > > > Under what circumstances do you imagine this will happen, since the > postmaster user owns all the files and directories? Understood. But can you explain why it is done in that way as what I said seems to be standard way of doing it (correct me if I'm wrong). -- with regards, S.Gnanavel ------=_Part_1368_22583971.1127828769159 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 9/27/05, Andrew Dunstan <andre= w@dunslane.net> wrote:

[ -performance removed ]

Gnanavel S wrote:

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


Under what circumstances do you imagine this wi= ll happen, since the
postmaster user owns all the files and directories?=

Understood. But can you explain why it is done in that way as what I said seems to be standard way of doing it (correct me if I'm wrong).
<= /div>


--
with regards,
S.Gnanavel ------=_Part_1368_22583971.1127828769159--