Re: BUG #1883: Renaming a schema leaves inconsistent sequence
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #1883: Renaming a schema leaves inconsistent sequence |
| Дата | |
| Msg-id | 29560.1127448743@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #1883: Renaming a schema leaves inconsistent sequence (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Ответы |
Re: BUG #1883: Renaming a schema leaves inconsistent sequence
|
| Список | pgsql-bugs |
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On Thu, Sep 22, 2005 at 10:29:21PM -0400, Tom Lane wrote:
>> (wanders off, wondering if a "regclass" literal value would help ...)
> Wouldn't it be easy to create a nextval(oid) function, and have SERIAL
> emit that instead?
Well, for one thing, "nextval(583726163)" isn't likely to dump and
restore nicely. Making the literal be type regclass rather than bare
OID will probably help that, but I'm not sure it's a 100% solution.
If I recall the previous discussions correctly there were still some
gotchas :-(
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера