Re: Bug with sequence ?

From: "Christian Meunier" <vchris(at)club-internet(dot)fr>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug with sequence ?
Date: 2002-02-04 18:13:27
Message-ID: 002101c1ada7$a51672a0$0200a8c0@hurrican
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Well correcting the report:

by the past, i was used to have this trouble ( using 7.2b5 or prior and
ipchains)

the only 2 occurences i have now in my log are not linked to sequence so it
must occur sometime somehow but it has nothing to do with postgres.

However by the past, i had this trouble with sequence, i dont know if i get
rid off this issue updating to 7.2RC2 or moving to IPTABLE instead of
ipchains.

----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christian Meunier" <vchris(at)club-internet(dot)fr>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Sent: Monday, February 04, 2002 5:21 PM
Subject: Re: [HACKERS] Bug with sequence ?

> "Christian Meunier" <vchris(at)club-internet(dot)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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message bpalmer 2002-02-04 18:14:21 Re: v7.2 rolled last night ...
Previous Message Tom Lane 2002-02-04 17:29:06 Re: Bug with sequence ?