Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > problem
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3736 of 3904
Post > Topic >>

problem

by oleg@[EMAIL PROTECTED] (Khobotko Oleg) Apr 23, 2008 at 02:19 AM

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@[EMAIL PROTECTED]
" <spol@[EMAIL PROTECTED]
> 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

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 2 Posts in Topic:
problem
oleg@[EMAIL PROTECTED] (  2008-04-23 02:19:22 
Re: problem
Zdenek.Kotala@[EMAIL PROT  2008-04-25 12:06:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Tue Jul 8 23:31:26 CDT 2008.