| От | Steve Crawford |
|---|---|
| Тема | Re: Sequence skipping values |
| Дата | |
| Msg-id | 43ED2B19.60004@pinpointresearch.com обсуждение исходный текст |
| Ответ на | Re: Sequence skipping values (Jean-Christophe Roux <jcxxr@yahoo.com>) |
| Список | pgsql-general |
Jean-Christophe Roux wrote: > Hi, > Thanks four your answers. Let me give more details here. > The table with the id not incrementing by 1 as I expected is named topics. > > I have three other tables that contain rules that on insert into those > tables, some fields of the table Topic should be updated. > Each of those three tables contain a column that refer to topics.id as a > foreign key. > Those three columns contain id automatically generated by sequences and I > have not observed any problem Start psql and on each of those tables run "\d <tablename>". Also run "select * from <sequencename>" for any sequences involved. Post results here - I suspect some clues will be contained therein. Cheers, Steve
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера