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 1pmlJi-0005VS-VC for pgsql-general@arkaria.postgresql.org; Thu, 13 Apr 2023 01:00:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pmlJh-0002QE-Sa for pgsql-general@arkaria.postgresql.org; Thu, 13 Apr 2023 01:00:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pmlJg-0002Po-MK for pgsql-general@lists.postgresql.org; Thu, 13 Apr 2023 01:00:01 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pmlJd-00071I-LE for pgsql-general@lists.postgresql.org; Thu, 13 Apr 2023 00:59:59 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id ABF525C0124; Wed, 12 Apr 2023 20:59:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 12 Apr 2023 20:59:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1681347596; x=1681433996; bh=KVdhcn9wvFP0TYOniVA79K36OpSNGcc7gdH LfMfTpWw=; b=VCffIJVoyxjqIQXL3Y/XVnOcZJNXD6ZXxmp/XSPqcny6cxR5kjx AE83hINDjr/NkMxI6UQ8unwwNyADdAlgxtmq1/+1IcSpxS2uikCR2htD9L2OFTJb FfWhKH0IM6QoDvfpKtxWXl1ifmYd2O+9bdwFvKx+VPkWgQxb26XgemHOK/MnZA9d OSErLCEtvWkqFzK25BMGhX641zPvx3CFYchB4c8ksZ2DIV+RrJElGYlCi2FczALo p47WmjLS8ZbMOxuzRrl+6dwXk/t9PXSDrufYntiDvUFxIOf8G5lTYMRIgjkJEbcH qWZ/eDlhjn1iaPFWJiioVcSH5ZiXBpfXS1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1681347596; x=1681433996; bh=KVdhcn9wvFP0TYOniVA79K36OpSNGcc7gdH LfMfTpWw=; b=G6YyebZiZuGzGk/zGeeL/rg7M7o55oafp4jq0I5exbNAR4qaS2X TTqUxOwLHkXmsRbJCGt4MAGOw1BdozWFEPHWTxWaLadcURSGlPuZ6TCCtFEWtION 1F8xy3Bwv1/6cuvXsG1/NBA55ctj9cR8+n+P98zjmcFC+/Ai52C9rGUQ8sNCpLyE VBj0yKr986UjTMq2f5M1KeNDPmOYz8cbBLjuAsFzxnFOrjdRD0b6QuwBHrj5kxBn croioIJQisw5n9GCtA8Q5RWthR+9Lu6d8BRHTOeGM84aGzCBvSMGnHbRAWuMLTeN q3XGCMCt7Hd0jegASvupFrmylL+Xp7f1pQg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekjedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhephedugfethfettdehieevteeukedtjedvhfevkefg udefgeevteduvdeuvdeggeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Apr 2023 20:59:56 -0400 (EDT) Message-ID: <27aa3259-d003-6729-7d33-e2e12745f93e@aklaver.com> Date: Wed, 12 Apr 2023 17:59:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Guidance on INSERT RETURNING order Content-Language: en-US To: Thorsten Glaser Cc: pgsql-general@lists.postgresql.org References: <95fbd8c8-2f7a-38a1-4a41-b2ac3763d89c@aklaver.com> <84746f13-fc7f-9126-12f3-ae5fbd5e6b79@evolvis.org> From: Adrian Klaver In-Reply-To: <84746f13-fc7f-9126-12f3-ae5fbd5e6b79@evolvis.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/12/23 17:58, Thorsten Glaser wrote: > On Wed, 12 Apr 2023, Mike Bayer wrote: > >> ascending values for "mytable_id_seq" will correspond to the ascending >> values for "num". > > But, again, what if it’s uuid or something instead of a sequence? This for an ORM that will be using a sequence. > > bye, > //mirabilos -- Adrian Klaver adrian.klaver@aklaver.com