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

Поиск
Список
Период
Сортировка
От Christoph Ziegenberg
Тема Re: BUG #15967: Sequence generation using NEXTVAL() fails on 64bit systems
Дата
Msg-id E9CEB172-6CDC-49FF-AACD-AACCE88A76C6@web.de
обсуждение исходный текст
Ответ на Re: BUG #15967: Sequence generation using NEXTVAL() fails on 64bit systems  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-bugs
We also had problems to reproduce it outside of the application, but are still working on an independent test script.

One special case is, that the application uses prepared statements for all queries, also for the NEXTVAL() selection.

Christoph


Am 20. August 2019 15:44:55 MESZ schrieb Jeff Janes <jeff.janes@gmail.com>:

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

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

Предыдущее
От: Petar Masev
Дата:
Сообщение: Postgres 11.5.1 failed installation
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclaredidentifier 'FD_SETSIZE'