help me please - Mailing list pgsql-bugs

From spol@mail.ru
Subject help me please
Date
Msg-id 480E5E84.4060209@mail.ru
Whole thread Raw
In response to Re: help me please  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hello, help me please,
I don't know how, but i got 2 postgres users.
How can I delete the first one ????
thx alot for your answers.

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
select passwd,ctid,xmin,xmax,cmin,cmax from pg_shadow where usesysid =1;
               passwd                | ctid  | xmin |   xmax   |
cmin   | cmax
-------------------------------------+-------+------+----------+----------+-----
                      
-
                                     | (0,1) |    1 | 16754522 |
16754522 |    0
 md510db8c04d26d32185270721fcf32155 | (0,2) |    2 |        0 |        0
|    0
(2 rows)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
select * from pg_shadow where usesysid=1;
 usename  | usesysid | usecreatedb | usesuper | usecatupd
|
passwd
| valuntil | useconfig
----------+----------+-------------+----------+-----------+---------------------
                      
----------------+----------+-----------
 postgres |        1 | t           | t        | t
|
|          |
 postgres |        1 | t           | t        | t         |
md510db8c04d231142d5
270721fcf740ed5 | infinity |
(2 rows)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Tom Lane ïèøåò:
> "spol@mail.ru" <spol@mail.ru> writes:
>
>> I have two "postgres" user. How to delete the first one ???
>>
>
> Let's see the system columns (ctid,xmin,xmax,cmin,cmax) for those
> two rows?
>
>             regards, tom lane
>
>
>

pgsql-bugs by date:

Previous
From: Meetesh Karia
Date:
Subject: Re: Patch for LISTEN/NOTIFY race condition?
Next
From: valgog
Date:
Subject: Re: BUG #4123: Statement.setQueryTimeout does not work with Postgres Java Driver