Re: freebsd sample startup script doesn't work

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Vivek Khera <khera(at)kcilink(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: freebsd sample startup script doesn't work
Date: 2001-05-03 15:39:09
Message-ID: Pine.LNX.4.30.0105031736110.900-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-05-03 15:44:24 Re: SELECT min(id) FROM test; uses seqscan
Previous Message Bruce Patin 2001-05-03 15:37:55 Doc bug undefined special characters