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

RE: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800

From: "Stephen Martin" <stephen(at)sealteam(dot)demon(dot)co(dot)uk>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: RE: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800
Date: 2000-02-27 01:15:34
Message-ID: NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
Hello,
as a post script to this..
Under normal circumstances one cannot add
another user of the same name (phew!:) )
I think this was the result of a setup
script
writing directly into pg_shadow and pg_user;

Stephen

----------------------------------------------
010000C9

-----Original Message-----
From: owner-pgsql-interfaces(at)postgreSQL(dot)org
[mailto:owner-pgsql-interfaces(at)postgreSQL(dot)org]On Behalf Of Stephen
Martin
Sent: Saturday, February 26, 2000 5:00 PM
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800


Hello,
How can one differential between apparently duplicated usernames?
For example I have a postgres id 'www' present within my pg_shadow/pg_user.
I recently installed a package and inadvertantly created another 'www' user.
I have managed to remove the duplicate user by deleting it from pg_shadow by
identifying it via its usesysid field.

How can I

1) Ensure I canot in future create duplicate names?
2) If duplicate users are possible by what other means can the
   various instances of them be referenced?

Stephen

----------------------------------------------
010000C9


************


In response to

  • at 2000-02-27 01:01:55 from Stephen Martin

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-02-27 01:47:08
Subject: Re: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800
Previous:From: Stephen MartinDate: 2000-02-27 01:01:55
Subject:

pgsql-interfaces by date

Next:From: Tom LaneDate: 2000-02-27 01:47:08
Subject: Re: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800
Previous:From: Stephen MartinDate: 2000-02-27 01:01:55
Subject:

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