Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB7FIsm82774 for ; Fri, 7 Dec 2001 10:18:54 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id fB7FGti29605; Fri, 7 Dec 2001 10:16:55 -0500 (EST) To: "Ross J. Reedstrom" cc: Yanek Korff , "'pgsql-admin@postgresql.org'" Subject: Re: duplicate templates, wrong users In-reply-to: <20011206142249.D10995@rice.edu> References: <51CC94132526754995E79DCF28C0C34D09B018@exchange.cigital.com> <20011206142249.D10995@rice.edu> Comments: In-reply-to "Ross J. Reedstrom" message dated "Thu, 06 Dec 2001 14:22:49 -0600" Date: Fri, 07 Dec 2001 10:16:55 -0500 Message-ID: <29602.1007738215@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200112/49 X-Sequence-Number: 2773 "Ross J. Reedstrom" writes: > I just tested this by artificially creating a user with duplicate usesysid > (I had to UPDATE pg_shadow to do it : the CREATE USER command is guarded > against this) and got exactly the symptoms you report: FWIW, this sort of problem should be impossible in 7.2 and beyond: we finally got around to attaching a unique index to pg_shadow.usesysid. regards, tom lane