Re: Two tables for the price of one?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Patrick Aland <paland(at)stetson(dot)edu>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Two tables for the price of one?
Date: 2001-03-27 19:36:44
Message-ID: Pine.LNX.4.30.0103272133530.1215-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin A. Marques 2001-03-27 19:44:27 tables, where
Previous Message Alfred Perlstein 2001-03-27 19:31:28 Re: C functions, arguments, and ssh oh my!