Received: from ns1.foothill.net (ns1.foothill.net [206.170.175.1]) by hub.org (8.9.3/8.9.3) with ESMTP id UAA31528 for ; Sat, 26 Feb 2000 20:12:29 -0500 (EST) (envelope-from stephen@sealteam.demon.co.uk) Received: from stephens (Q237.135.foothill.net [216.111.237.135]) by ns1.foothill.net (8.9.3/8.9.3) with SMTP id RAA13680 for ; Sat, 26 Feb 2000 17:08:20 -0800 (PST) From: "Stephen Martin" To: Subject: RE: [INTERFACES] Date: Sat, 26 Feb 2000 17:01:55 -0800 Date: Sat, 26 Feb 2000 17:15:34 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 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 ************