Re: Generate user/group sysids from a sequence?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shridhar_daithankar(at)persistent(dot)co(dot)in
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Generate user/group sysids from a sequence?
Date: 2003-01-17 14:46:35
Message-ID: 7680.1042814795@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in> writes:
> I would say keep range of user specified ids and automatically generated ids
> exclusive to each other.

No, that won't do. The principal reason why we keep the explicit SYSID
option around at all is so that a DBA can deliberately recreate a user
with the same SYSID he had before, in case the user is dropped by
mistake leaving objects or permissions behind. So we can't just forbid
conflicts completely.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-01-17 15:14:51 Re: createlang failed!
Previous Message John Liu 2003-01-17 14:19:19 createlang failed!