Subject | Re: [firebird-support] Privileges for generators in Firebird 3 |
---|---|
Author | Mark Rotteveel |
Post date | 2018-10-06T07:14:23Z |
On 5-10-2018 21:06, Aldo Caruso aldo.caruso@...
[firebird-support] wrote:
--
Mark Rotteveel
[firebird-support] wrote:
> > select gen_id(GEN_AGENDA_NRO, 287390 - gen_id(GEN_AGENDA_NRO , 0)) fromI have reported it on http://tracker.firebirdsql.org/browse/CORE-5937
> > rdb$database
>
> An ugly hack, I agree, but works.
>
>
> >This does make you wonder if maybe RESTART WITH shouldn't fall under
> >USAGE instead of the ALTER privilege (or alternatively if using gen_id
> >with anything other than 0 or 1 shouldn't fall under the ALTER privilege).
>
> I agree also: a bit strange.
--
Mark Rotteveel