Re: BUG #15967: Sequence generation using NEXTVAL() fails on 64bit systems

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: ziegenberg(at)web(dot)de, pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15967: Sequence generation using NEXTVAL() fails on 64bit systems
Date: 2019-08-20 13:44:55
Message-ID: CAMkU=1w7BtrvqghRdeJ1WGeeiP5UKhMYLAXxBuKR7JaSfuYsew@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>
>
> I did many tests:
>

Can you include the code which implements those tests?

I can't reproduce with something like this:

perl -e 'use DBI; fork; fork; fork; my
$dbh=DBI->connect("dbi:Pg:host=/tmp"); for (1..1e6) {my $seq =
$dbh->selectrow_array("select nextval('\''foo_seq'\'')"); $dbh->do("insert
into foo values (?)",undef,$seq);}'

Cheers,

Jeff

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Merlin Moncure 2019-08-20 14:21:08 Re: BUG #15967: Sequence generation using NEXTVAL() fails on 64bit systems
Previous Message Dave Cramer 2019-08-20 12:59:43 Re: BUG #15957: Connection event listener not called during close()