pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ross J. Reedstrom <reedstrm@rice.edu>
Cc: Yanek Korff <yanek@cigital.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: duplicate templates, wrong users
Date: Fri, 07 Dec 2001 10:16:55 -0500
Message-ID: <29602.1007738215@sss.pgh.pa.us> (raw)
In-Reply-To: <20011206142249.D10995@rice.edu>
References: <51CC94132526754995E79DCF28C0C34D09B018@exchange.cigital.com>
	<20011206142249.D10995@rice.edu>

"Ross J. Reedstrom" <reedstrm@rice.edu> 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



view thread (6+ messages)  latest in thread

Message-ID: <29602.1007738215@sss.pgh.pa.us>
Permalink:  ../29602.1007738215@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29602.1007738215@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, reedstrm@rice.edu, yanek@cigital.com
  Subject: Re: duplicate templates, wrong users
  In-Reply-To: <29602.1007738215@sss.pgh.pa.us>
  References: <51CC94132526754995E79DCF28C0C34D09B018@exchange.cigital.com> <20011206142249.D10995@rice.edu> <29602.1007738215@sss.pgh.pa.us>

* 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