Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base - Mailing list pgsql-admin

From Chris Travers
Subject Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Date
Msg-id 433B467E.8010204@travelamericas.com
Whole thread Raw
In response to Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base  (Jeffrey Tenny <jeffrey.tenny@comcast.net>)
List 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 by date:

Previous
From: Jeffrey Tenny
Date:
Subject: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Next
From: Tom Lane
Date:
Subject: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base