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