Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?
Дата
Msg-id CADK3HH+h60g5dmZq4qhESo1Q1yn-x4EGixYZbOGufc=tHFu-1A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?  (electrotype <electrotype@gmail.com>)
Ответы Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?
Список pgsql-general
So I'm curious. Why does order matter ?

Dave Cramer
www.postgres.rocks


On Wed, 9 Dec 2020 at 03:15, electrotype <electrotype@gmail.com> wrote:
I can't see how they could possibly be out of order. 

Thanks, that what I think too. But, to be honest, I'd really like to see this written in some documentation! In some cases, this small detail can be quite important.

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

Предыдущее
От: Aravindhan Krishnan
Дата:
Сообщение: Re: postgres-10 with FIPS
Следующее
От: Niels Jespersen
Дата:
Сообщение: Tools showing table partitions as tables in listings of tables