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

problem

From: Khobotko Oleg <oleg(at)1pr(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: problem
Date: 2008-04-22 22:19:22
Message-ID: 480E646A.4070508@1pr.ru (view raw or flat)
Thread:
Lists: 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(at)mail(dot)ru" <spol(at)mail(dot)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

Responses

  • Re: problem at 2008-04-25 10:06:09 from Zdenek Kotala

pgsql-bugs by date

Next:From: Blake LovelyDate: 2008-04-23 05:21:12
Subject: BUG #4124: Error message: "You local administrators group contains 'Service users' this is a common configurat
Previous:From: spol@mail.ruDate: 2008-04-22 22:17:01
Subject: HELP pls

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