Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group