| От | Tom Lane |
|---|---|
| Тема | Re: Generate user/group sysids from a sequence? |
| Дата | |
| Msg-id | 13145.1042824965@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Generate user/group sysids from a sequence? (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Generate user/group sysids from a sequence?
Re: Generate user/group sysids from a sequence? |
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> This way, we don't need to bother with
>> touching the sequence at all during a CREATE USER with explicit sysid.
> Well, the problem is that this could still cause the reuse of a deleted
> user, no? Wasn't that the problem we were originally trying to solve?
Hmm, yeah I guess so. Okay, we do need to compare an explicit SYSID
setting to the sequence, and bump up the sequence if it's greater.
Annoying, but I guess there's no choice.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера