Re: ERROR: tablespace "archive2" is not empty

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: ERROR: tablespace "archive2" is not empty
Дата
Msg-id 20151019090659.GA3485@alap3.anarazel.de
обсуждение исходный текст
Ответ на ERROR: tablespace "archive2" is not empty  (Josip Rodin <joy+pgsql@entuzijast.net>)
Ответы Re: ERROR: tablespace "archive2" is not empty  (Josip Rodin <joy+pgsql@entuzijast.net>)
Список pgsql-general
Hi,

On 2015-10-19 10:49:11 +0200, Josip Rodin wrote:
> % sudo -H -u postgres psql mydb -c "SELECT oid, relname, relkind FROM pg_catalog.pg_class where oid IN (7877054,
7877056);"
>  oid | relname | relkind
> -----+---------+---------
> (0 rows)

That's the wrong query. The files on disk are relefilenodes not
oids. Try WHERE pg_relation_filenode(oid) IN ...

Greetings,

Andres Freund


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: postgresql 9.4 streaming replication
Следующее
От: Andres Freund
Дата:
Сообщение: Re: postgresql 9.4 streaming replication