Re: pg_dump ERROR, usename "postgres" duplicated

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gastonq(at)allytech(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump ERROR, usename "postgres" duplicated
Date: 2009-12-28 21:17:32
Message-ID: 28728.1262035052@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?ISO-8859-1?Q?Gast=F3n_Quiroga?= <gastonq(at)allytech(dot)com> writes:
> I checked the pg_user database and I found this:

> postgres=# select * from pg_user;
> usename | usesysid | usecreatedb | usesuper | usecatupd |
> passwd | valuntil | useconfig
> ---------------+----------+-------------+----------+-----------+----------+----------+-----------
> postgres | 1 | t | t | t |
> ******** | |
> postgres | 1 | t | t | t |
> ******** | |
> administrador | 100 | t | t | t |
> ******** | |

What PG version is that? (Apparently pre-8.1, but what exactly?)

It would be useful to look at the underlying table:

select ctid,xmin,xmax,* from pg_shadow;

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2009-12-28 21:20:14 Re: Java Postgres drivers.
Previous Message Gastón 2009-12-28 21:03:06 pg_dump ERROR, usename "postgres" duplicated