Re: Can't list tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't list tables
Дата
Msg-id 3490.989768035@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't list tables  (Jan Chrillesen <jan@chrillesen.dk>)
Список pgsql-novice
Jan Chrillesen <jan@chrillesen.dk> writes:
> I'm running 7.0.3 and want to upgrade to 7.1.1, but running pg_dumpall
> only dumps template1. Also psql -l only lists template1 - the same with
> \l

Hm.  The most common reason for this sort of breakage is that you
deleted the users who owned databases, tables, etc --- pg_dump gets
confused when you do that.  Look at the owner columns (datdba in
pg_database, relowner in pg_class, etc) and make sure you have pg_shadow
entries with matching usesysid values.

            regards, tom lane

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

Предыдущее
От: Jan Chrillesen
Дата:
Сообщение: Can't list tables
Следующее
От: "Ken Laws"
Дата:
Сообщение: Linking postgres databases