Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmucx-0002lY-5d for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 08:15:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kmucu-0003ga-3f for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 08:15:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmoCx-0007qy-OM for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 01:23:55 +0000 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kmoCu-0002E1-La for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 01:23:55 +0000 Received: by mail-qv1-xf32.google.com with SMTP id n9so208463qvp.5 for ; Tue, 08 Dec 2020 17:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=FRXnWaVkhCsEv5B7c1t61sV3uIKO9uMvjnf35c4nAb0=; b=ZJuf56700gbNTf7/lZx3YN2ZtnFrNRSSjmP4PfV25pQbl+QD15s7HnV3n8eaIP52d6 5fezwGZ1RwMn6UjQmNftaTA+MbxmdXuHElNUv/RhyETacj7XF/m8ljHuKOBnLtUhdL36 LCAXhld1tNesUtqrA3D0boNpSV2VgtcRAfTuWoGF3qZotyVHniQwj6lsvuzqatDfOUVX syKrfG1Wob/haYk4W3Shej+TZdbsk8XF0992ZcQi18c3pvEIPNl+vR/1YlIOVV8nbwBX COU2zKGcsP/XeZKoI8L1TxNnaqz4IOqS1i2x/92TmnhotxSKPQwqQ+A3BfSJ+ExjXvdH DKnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=FRXnWaVkhCsEv5B7c1t61sV3uIKO9uMvjnf35c4nAb0=; b=ogUjr7Nw3Kp8zVVHHJI1geusteFnCpa5V/0bg07/TMC4MJibn6isUtrfG/AWRAx55E jRP0EaV3i389yHkegcqDWEx1F6RlhXaSns/TpTipRenC7tJgD4CmOf5TSEC0Oitt8tBe 1YFXN+7mSoIxdtm6TVMBHXfJFqKsMq6X47RoGWFj9m/cMmydTJmLP0EYn0Jfd+ZqM0IE UKOGJ9/iZMUFZSzVE1Ifj/QKy2DN7g1SDNq/G2QBuh/Nv4oTJlk8KaEfaIknnn8DSCbo oFkD3Ar8urxKC7mtXh+DHcE/ZkrA5a3YhKzdzSTxP9jXI+QfvrC+hYobjubHMMQfK2E1 gvZg== X-Gm-Message-State: AOAM5322ucbszsx/jonT2bVtLGJ6OaemZuNW3ueji08gXconuWHyNmXj jKs99Y+HbCsp+5mwIE2u8PBwPLHK3fc= X-Google-Smtp-Source: ABdhPJy2X5wTqMkdTO84Cfc92H+7UDTCUVmP85NR/rtGzAjy2qY+FaZx3BkUcidTrR0dsCVviILQnw== X-Received: by 2002:ad4:52c3:: with SMTP id p3mr420710qvs.52.1607477030106; Tue, 08 Dec 2020 17:23:50 -0800 (PST) Received: from [192.168.50.211] ([104.163.190.166]) by smtp.gmail.com with ESMTPSA id m65sm72368qtd.5.2020.12.08.17.23.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2020 17:23:49 -0800 (PST) From: electrotype Subject: Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made? To: "pgsql-generallists.postgresql.org" References: <36689061-0844-2dfd-a4ee-8006d8a15ca9@gmail.com> Message-ID: <1d0c8b21-25cc-2a3e-7f25-81f2de645f1e@gmail.com> Date: Tue, 8 Dec 2020 20:23:47 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------CF1C689E6D46350AB13EA71C" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------CF1C689E6D46350AB13EA71C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit > 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. --------------CF1C689E6D46350AB13EA71C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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.


--------------CF1C689E6D46350AB13EA71C--