Re: Bug with sequence ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug with sequence ?
Дата
Msg-id 6397.1012839669@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug with sequence ?  ("Christian Meunier" <vchris@club-internet.fr>)
Список pgsql-hackers
"Christian Meunier" <vchris@club-internet.fr> writes:
> When i insert a new tuple i use: insert into test values(nextval('test_num_=
> seq'),......);
> When i look at my postgres log, time to time i see:
> 2002-02-04 08:11:47 ERROR:  Cannot insert a duplicate key into unique index=
>  test_pkey

You sure that's the *only* way that the num column gets inserted or
updated?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christian Meunier"
Дата:
Сообщение: Bug with sequence ?
Следующее
От: bpalmer
Дата:
Сообщение: Re: v7.2 rolled last night ...