Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2011 12:27:21 -0400
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Cc:        girgen@FreeBSD.org
Subject:   Re: PostgreSQL 9.0.4 %%PG_USER%% not changed
Message-ID:  <20110814162721.GA2609@magic.hamla.org>
In-Reply-To: <4E47C7F7.9030001@mail.ru>
References:  <4E47C7F7.9030001@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
[ mantainer added to Cc: ]

On Sun, 2011-08-14 at 18:04:55 +0500, rihad wrote:

> Hi, I have installed the latest
> postgresql-server-9.0.4_2
> postgresql-client-9.0.4_1
> 
> In several places, namely in /usr/local/etc/rc.d/postgresql:
> postgresql_user=${postgresql_user:-"%%PG_USER%%"}
> 
> and throughout all of /usr/local/etc/periodic/daily/502.pgsql
> 
> %%PG_USER%% is left as is, which should have presumably been changed
> to pgsql by the installation script.
> What gives?

Based on a quick glance, it seems that the expansion does occur because
PG_USER is not set in SUB_LIST.

-- 
Sahil Tandon <sahil@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110814162721.GA2609>