Re: My bad...user and database not recognized after reboot - Mailing list pgsql-novice

From Tom Lane
Subject Re: My bad...user and database not recognized after reboot
Date
Msg-id 1288.1131938604@sss.pgh.pa.us
Whole thread Raw
In response to My bad...user and database not recognized after reboot  (Gan Uesli Starling <alias@starling.us>)
Responses Re: My bad...user and database not recognized after reboot
List pgsql-novice
Gan Uesli Starling <alias@starling.us> writes:
> I had run out of space on Unix directory /var and had
> decided to move it. I not so cleverly used 'tar -cf' and
> 'tar -xf' to restore /var in its new location. Alas, it
> seems to have set all ownerships in /var to root. Oops!
> ...
> If that be the case, how might I get psql to admit
> existence thereof and again allow access?

"chown -R postgres:postgres /usr/pgdata", or something close to that,
should fix it.

            regards, tom lane

pgsql-novice by date:

Previous
From: Gan Uesli Starling
Date:
Subject: My bad...user and database not recognized after reboot
Next
From: Sebastian Scarano
Date:
Subject: help compiling pgmanage