Re: problem with maintenance script and missing pg_clog files with pg 7.2.1

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: problem with maintenance script and missing pg_clog files with pg 7.2.1
Дата
Msg-id 20020925111525.GE31973@svana.org
обсуждение исходный текст
Ответ на Re: problem with maintenance script and missing pg_clog files with pg 7.2.1  (Ben Roberts <benroberts@runtime-collective.com>)
Список pgsql-general
On Wed, Sep 25, 2002 at 11:18:59AM +0100, Ben Roberts wrote:
> Ben Roberts benroberts@runtime-collective.com said:
>
> Tom, Martijn,
>
> Oh dear, I feel this problem is related to us having not correctly
> implemented the move to a new data directory.
>
> I think the problem here is in postmaster.conf:

<snip>

To be honest, I don't know. What I usually do is create a symlink from the
old location to the new location so that it looks like nothing has changed.
The you don't need to change any config files at all.

So something like:

ln -s /2/var/lib/postgres/data /var/lib/postgres/

OTOH, I can't see why you'd be having any problems. If the server can start,
it should have access to everything it needs...

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

В списке pgsql-general по дате отправления:

Предыдущее
От: Ben Roberts
Дата:
Сообщение: Re: problem with maintenance script and missing pg_clog files with pg 7.2.1
Следующее
От: "Tim Knowles"
Дата:
Сообщение: Re: Postmaster Uptime