See setval(), nextval(), and currval() in the documentation on how to modify sequences on the fly. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" > From: "mike" <matrix@quadrent.net> > Date: Fri, 5 Oct 2001 15:07:10 -0400 > To: <pgsql-general@postgresql.org> > Subject: [GENERAL] resequencing an existing sequence > > > I'm currently working on an online application that uses a sequence to > order the layout of blocks of text, but I've come to a problem when > someone adds blocks of text between existing blocks. I'm wondering if there > is any way to resequence an existing sequence to accommodate the new blocks > of text. > > Mike
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера