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 1pZHwG-0006pU-On for pgsql-general@arkaria.postgresql.org; Mon, 06 Mar 2023 21:00:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pZHwE-0008Ba-Jv for pgsql-general@arkaria.postgresql.org; Mon, 06 Mar 2023 21:00:06 +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 1pZHwD-0008BF-Mp for pgsql-general@lists.postgresql.org; Mon, 06 Mar 2023 21:00:06 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZHwB-0004Nl-0O for pgsql-general@lists.postgresql.org; Mon, 06 Mar 2023 21:00:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id F24875C032A; Mon, 6 Mar 2023 16:00:01 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 06 Mar 2023 16:00:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=fm3; t= 1678136401; x=1678222801; bh=CfqYJGkJ0l6CyZJ/1cg8+zwfSzDWiJ4/FGA 5qcN21gI=; b=urssIJGEsuBAohrstGd+thfnL3m6EC388h18vYxbiyX3aP226ia 2EQ6e4Nc6xTN1+TTBV8EiiLXg7ErPTVFSuzVcPmwDv+OKeg9uHOnTM3TsYtDlwlD FxrC/aKDA39PXNjFpA4pAmNKrOZeND/Zb37MyVKBhQ7FePmsCDTIbol0BNIGJjxp 7nebNzTEsg4i0iATkPEFJAtHHsLrjjNxUDUS//9zTr90clo5HiGx3mT4LxClyaOd CaEfvLU5sZQAvfFd0MXcmDCQwg9hqM0SumLM23Hooo589pP/nxOxbnTp0KI0FI5O HJYzJUFipBDZ5Qh2q9SrnCkOcSe3AnhMTaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm1; t=1678136401; x= 1678222801; bh=CfqYJGkJ0l6CyZJ/1cg8+zwfSzDWiJ4/FGA5qcN21gI=; b=B Xwgutr598ivP5E2arHqKjYXgLT/gTqfwjXvp597rqjRq74LanSuPoI2rLBlS16pZ 0oFjt1iDSlgWAdcxzrlaCep3U4g+2uoebSDtu/FjRbky9158rBNvAPr5jAbcfuTB KX6knscJtpuZOErGVgLR9LbaNkO7dBhDgSRky27Wq5Xordh5JvJChn3GqZQVrZlU k948xhyB1cxM2JhWbOyaY0tIGrvhqolSMaRMWcTD0yMJU3LVEgT37OW6TlSYC1nw PY971RDsq3627wo7sK6NsthStNQrY2E8W+DOzc8bu6ekpaHmXtY63Ft584KlyuJg 9UnLug7Zud9rv+O2BNI3A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtkedgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepffehvddvveffuddtkeelheekueelgeegleeugeeh vedvffffuddtkeffiedvleelnecuffhomhgrihhnpehithgvmhhsrdhiugenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 6 Mar 2023 16:00:01 -0500 (EST) Subject: Re: Fwd: garbage data back To: Brad White , "pgsql-generallists.postgresql.org" References: <51c0caad-652d-f7c3-d2f4-97285a66b881@aklaver.com> From: Adrian Klaver Message-ID: <3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.com> Date: Mon, 6 Mar 2023 12:59:55 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/6/23 12:48 PM, Brad White wrote: > LOL > > Joke's on me. > > Here's the relevant part of the view > > SELECT ... >     "Order Items"."ID" AS "OrderItemID", >     ... >     (("Orders"."ID" || '-'::text) || "Order Items"."ID") AS "FileKey"\ Because "Orders"."ID" is different then "Order Items"."ID"? > > Wait, then why are the Item IDs different? > -- Adrian Klaver adrian.klaver@aklaver.com