Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Дата
Msg-id 433B467E.8010204@travelamericas.com
обсуждение исходный текст
Ответ на Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base  (Jeffrey Tenny <jeffrey.tenny@comcast.net>)
Список pgsql-admin
Jeffrey Tenny wrote:

> Anjan Dave wrote:
>
>> Why don't you copy/move the entire data directory (minus pg_xlog if
>> you are separating them)
>
>
> I tried that too, and then postmaster wouldn't even start.  I don't
> remember if it was a permission error or if it was complaining it
> couldn't find the configuration files.
>
> I suspect whatever symlink problems are manifesting in just moving
> 'base' also apply to moving 'data'.


Check the file ownerships.  Maybe a chown -R postgres /home/postgres
might be in order...

Also, if you are using SE-Linux, this can make things interesting...

Best Wishes,
Chris Travers
Metatron Technology Consulting

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>
>


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

Предыдущее
От: Jeffrey Tenny
Дата:
Сообщение: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base