Re: duplicate templates, wrong users

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
Cc: Yanek Korff <yanek(at)cigital(dot)com>, "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: duplicate templates, wrong users
Date: 2001-12-07 15:16:55
Message-ID: 29602.1007738215@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Ross J. Reedstrom" <reedstrm(at)rice(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David M. Richter 2001-12-07 16:07:43 pgdumpall_file is bigger than 2 Gigabyte
Previous Message Halford Dace 2001-12-07 12:02:16 Help! System catalogs vanished!