Re: freebsd sample startup script doesn't work - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: freebsd sample startup script doesn't work
Date
Msg-id Pine.LNX.4.30.0105031736110.900-100000@peter.localdomain
Whole thread Raw
In response to freebsd sample startup script doesn't work  (Vivek Khera <khera@kcilink.com>)
Responses Re: freebsd sample startup script doesn't work
List pgsql-bugs
Vivek Khera writes:

> I see clearly that PGDATA is set and exported.  I'm suspecting that
> the "su -l" causes the environment to disappear.  My guess is that
> whomever wrote this script has PGDATA set in the ~/.profile (or
> equivalent) in the postgres user's home directory.

This is fixed in the soon to be released 7.1.1.

> Also, the following line in the start action of the sript is useful:
>
>         /sbin/ldconfig -m $prefix/lib

You ought to run this once, not every time the system starts.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem building PostgreSQL 7.1 with readline-4.2
Next
From: Bruce Momjian
Date:
Subject: Re: debug_level 0 does not stop debug messages