Re: Double sequence increase on single insert with RULE on targeted table
В списке pgsql-bugs по дате отправления:
| От | tomas@tuxteam.de (Tomas Zerolo) |
|---|---|
| Тема | Re: Double sequence increase on single insert with RULE on targeted table |
| Дата | |
| Msg-id | 20051116060227.GB6265@www.trapp.net обсуждение исходный текст |
| Ответ на | Re: Double sequence increase on single insert with RULE on targeted table (Michael Fuhr <mike@fuhr.org>) |
| Ответы |
Re: Double sequence increase on single insert with RULE on
|
| Список | pgsql-bugs |
On Tue, Nov 15, 2005 at 10:51:10PM -0700, Michael Fuhr wrote: > On Wed, Nov 16, 2005 at 06:29:40AM +0100, Tomas Zerolo wrote: > > AFAIK, serials are not guaranteed to produce sequential values; tehy > > will produce unique values. That means that they can (and sometimes > > will) jump. >=20 > In this particular case, however, the behavior is due to the rule > on test1: >=20 > CREATE RULE test1_on_insert AS ON INSERT TO test1 > DO INSERT INTO test_log1 (qid) VALUES (new.id); [...] Oops, I didn't see that. Your eyes are sharper than mine ;-) thanks -- tomas
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера