Re: [GENERAL] Recover PostgreSQL database folder data

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: [GENERAL] Recover PostgreSQL database folder data
Дата
Msg-id ea14baf4-1600-ff47-81dd-8b6998699835@hogranch.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Recover PostgreSQL database folder data  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
On 4/21/2017 12:00 PM, Adrian Klaver wrote:
Apr 21 04:01:48 localhost postgresql96-check-db-dir: cat:
/var/lib/pgsql/9.6/data//PG_VERSION: Permissão negada

So you got a permissions error when the script was trying to read PG_VERSION.

The suspicious part is this:
/var/lib/pgsql/9.6/data//PG_VERSION

in particular the //

Is that really the case?


unix/linux seems quite happy to ignore extra /'s ...

# ls -l /var/lib/pgsql/9.3/data//PG_VERSION
-rw-------. 1 postgres postgres 4 May 22  2014 /var/lib/pgsql/9.3/data//PG_VERSION


-- 
john r pierce, recycling bits in santa cruz

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Recover PostgreSQL database folder data
Следующее
От: Edson Lidorio
Дата:
Сообщение: Re: [GENERAL] Recover PostgreSQL database folder data