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 1pmL3V-0000wk-Hu for pgsql-general@arkaria.postgresql.org; Tue, 11 Apr 2023 20:57:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pmL3U-0003WJ-ES for pgsql-general@arkaria.postgresql.org; Tue, 11 Apr 2023 20:57:32 +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 1pmL3U-0003WA-4J for pgsql-general@lists.postgresql.org; Tue, 11 Apr 2023 20:57:32 +0000 Received: from evolvis.org ([2a02:a00:2000:f::1]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pmL3R-002J0e-EW for pgsql-general@lists.postgresql.org; Tue, 11 Apr 2023 20:57:31 +0000 Received: from x61w.mirbsd.org (xdsl-212-8-144-34.nc.de [212.8.144.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by evolvis.org (Postfix) with ESMTPSA id 60C711009C4 for ; Tue, 11 Apr 2023 20:57:27 +0000 (UTC) Received: by x61w.mirbsd.org (Postfix, from userid 1000) id 7B3CB613D2; Tue, 11 Apr 2023 22:57:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by x61w.mirbsd.org (Postfix) with ESMTP id 76342602E4 for ; Tue, 11 Apr 2023 22:57:26 +0200 (CEST) Date: Tue, 11 Apr 2023 22:57:26 +0200 (CEST) From: Thorsten Glaser To: pgsql-general@lists.postgresql.org Subject: Re: Guidance on INSERT RETURNING order In-Reply-To: Message-ID: References: <95fbd8c8-2f7a-38a1-4a41-b2ac3763d89c@aklaver.com> Content-Language: de-DE-1901 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 11 Apr 2023, Federico wrote: >The problem here is not having the auto increment id in a particular The id might not even be auto-increment but UUID or something=E2=80=A6 (I am surprised you would even try to insert multiple rows at once.) bye, //mirabilos --=20 15:41=E2=8E=9C Somebody write a testsuite for hello= world :-)