pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: electrotype <electrotype@gmail.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?
Date: Tue, 8 Dec 2020 20:23:47 -0500
Message-ID: <1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com> (raw)
In-Reply-To: <CADK3HHL68fd+D_e-jGdx9J--hrwEx26-5a-V6fFf=OOLUTgApw@mail.gmail.com>
References: <36689061-0844-2dfd-a4ee-8006d8a15ca9@gmail.com>
	<CADK3HHL68fd+D_e-jGdx9J--hrwEx26-5a-V6fFf=OOLUTgApw@mail.gmail.com>

> 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.

view thread (11+ messages)  latest in thread

Message-ID: <1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com>
Permalink:  ../1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com/
Also on:    postgresql.org/message-id/1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: electrotype@gmail.com
  Subject: Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?
  In-Reply-To: <1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com>
  References: <36689061-0844-2dfd-a4ee-8006d8a15ca9@gmail.com> <CADK3HHL68fd+D_e-jGdx9J--hrwEx26-5a-V6fFf=OOLUTgApw@mail.gmail.com> <1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox