Re: Two tables for the price of one?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Two tables for the price of one?
Дата
Msg-id Pine.LNX.4.30.0103272133530.1215-100000@peter.localdomain
обсуждение исходный текст
Ответ на Two tables for the price of one?  (Patrick Aland <paland@stetson.edu>)
Список pgsql-general
Patrick Aland writes:

> test=# \dt
> No relations found.
> test=# CREATE TABLE mytable (
> test(#   id     INT,
> test(#   stuff  VARCHAR(10)
> test(# );
> CREATE
> test=# \dt
>      List of relations
>   Name   | Type  |  Owner
> ---------+-------+----------
>  mytable | table | gmguest
>  mytable | table | postgres
> (2 rows)

Both of these users probably have the same user id. See pg_shadow.usesysid
column.  If this installation was ever subject of a backup/restore, then
this might explain things.  If there are indeed duplicate user ids,
dropping and recreating gmguest should work.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Joel Dudley
Дата:
Сообщение: C functions, arguments, and ssh oh my!
Следующее
От: Alfred Perlstein
Дата:
Сообщение: Re: C functions, arguments, and ssh oh my!