pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Brad White <b55white@gmail.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Fwd: garbage data back
Date: Mon, 6 Mar 2023 12:59:55 -0800
Message-ID: <3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.com> (raw)
In-Reply-To: <CAA_1=91Aej78jB__tgpfwWB_j_g1LULj7Yx9wUPVA2DeJbZ5wQ@mail.gmail.com>
References: <CAA_1=91wec476kHOYbMWqL=1ZUR1MTiGJZJ=dain1g+OBgA0ng@mail.gmail.com>
	<51c0caad-652d-f7c3-d2f4-97285a66b881@aklaver.com>
	<CAA_1=90vSHtU5hLuqeruRYXE1cAqzKgppz+_7kDgVJ_E6be3eg@mail.gmail.com>
	<CAA_1=91Aej78jB__tgpfwWB_j_g1LULj7Yx9wUPVA2DeJbZ5wQ@mail.gmail.com>

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





view thread (9+ messages)  latest in thread

Message-ID: <3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.com>
Permalink:  ../3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.com/
Also on:    postgresql.org/message-id/3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.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: adrian.klaver@aklaver.com, b55white@gmail.com
  Subject: Re: Fwd: garbage data back
  In-Reply-To: <3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.com>
  References: <CAA_1=91wec476kHOYbMWqL=1ZUR1MTiGJZJ=dain1g+OBgA0ng@mail.gmail.com> <51c0caad-652d-f7c3-d2f4-97285a66b881@aklaver.com> <CAA_1=90vSHtU5hLuqeruRYXE1cAqzKgppz+_7kDgVJ_E6be3eg@mail.gmail.com> <CAA_1=91Aej78jB__tgpfwWB_j_g1LULj7Yx9wUPVA2DeJbZ5wQ@mail.gmail.com> <3db27fc7-4d96-80f6-252a-f19af698ce35@aklaver.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