pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Martin <stephen@sealteam.demon.co.uk>
To: pgsql-interfaces@postgreSQL.org
Subject: RE: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800
Date: Sat, 26 Feb 2000 17:15:34 -0800
Message-ID: <NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk> (raw)
In-Reply-To: <NDBBKKNKKLBACABPPCCNGEHPDOAA.stephen@sealteam.demon.co.uk>

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@postgreSQL.org
[mailto:owner-pgsql-interfaces@postgreSQL.org]On Behalf Of Stephen
Martin
Sent: Saturday, February 26, 2000 5:00 PM
To: pgsql-interfaces@postgreSQL.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


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




view thread (2+ messages)  latest in thread

Message-ID: <NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk>
Permalink:  ../NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk/
Also on:    postgresql.org/message-id/NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: stephen@sealteam.demon.co.uk
  Subject: Re: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800
  In-Reply-To: <NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk>
  References: <NDBBKKNKKLBACABPPCCNGEHPDOAA.stephen@sealteam.demon.co.uk> <NDBBKKNKKLBACABPPCCNEEIADOAA.stephen@sealteam.demon.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox