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

From: Chris Travers <chris(at)travelamericas(dot)com>
To: Jeffrey Tenny <jeffrey(dot)tenny(at)comcast(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Date: 2005-09-29 01:42:22
Message-ID: 433B467E.8010204@travelamericas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-09-29 02:10:45 Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base
Previous Message Jeffrey Tenny 2005-09-29 01:11:49 Re: Postgresql 8.0.3, symbolic link to /var/lib/pgsql/data/base