Re: Ownership/protection (was Re: [HACKERS] Portability)

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, hackers(at)postgreSQL(dot)org
Subject: Re: Ownership/protection (was Re: [HACKERS] Portability)
Date: 1999-11-30 17:55:21
Message-ID: Pine.BSF.4.05.9911301250082.13266-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 30 Nov 1999, Tom Lane wrote:

> ./configure
> make
> su root
> make install
> initdb --owner=postgres --pgdata=whatever
> exit from su
> start postmaster

./configure --with-pguser=postgres
make
sudo make install

is what I've been pushing for. That way when you do the installation
it'll happen something like

/usr/bin/install -c -d -g postgres -o postgres FILE-TO-BE-INSTALLED

the -c copies, the -d creates the missing directories, different install
programs do things differently. The -g and -o come from the configure
switch --with-pguser and maybe even --with-pggroup. The defaults should
be postgres for both. initdb can then have those values built in, yet
overridable.

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brian E Gallew 1999-11-30 18:49:24 Re: [HACKERS] Re: tab completion in psql
Previous Message Bruce Momjian 1999-11-30 17:55:02 Re: tab completion in psql