| От | Scott Marlowe |
|---|---|
| Тема | Re: Sequence Incrementing by 2 insted of 1 |
| Дата | |
| Msg-id | dcc563d10904280001n13857088xe50ab33b5db850db@mail.gmail.com обсуждение |
| Ответ на | Re: Sequence Incrementing by 2 insted of 1 (David <david@vanlaatum.id.au>) |
| Ответы |
Re: Sequence Incrementing by 2 insted of 1
|
| Список | pgsql-general |
On Tue, Apr 28, 2009 at 12:38 AM, David <david@vanlaatum.id.au> wrote:
> Looked for that can't find anything and there is no reason why someone would have added that.
Well, unless you've got some example code for us to look at, it's
kinda hard to tell you what's wrong.
Often, you see people do something like this:
insert into autoincrementingtable values (DEFAULT, 'a', 500);
select nextval('autoinctable_seq');
yada yada yada
or something like that. i.e. there's an implicit call to the nextval
with the insert, and another explicit one somewhere in your code.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера