pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Raynsford <co+org.postgresql@io7m.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Column value derived from generated column in INSERT?
Date: Wed, 19 Oct 2022 19:48:05 +0000
Message-ID: <20221019194805.79d0b2ed@sunflower.int.arc7.info> (raw)
In-Reply-To: <82c54487-2f99-7829-6f76-a266afb8890a@aklaver.com>
References: <20221019173225.53d939f2@sunflower.int.arc7.info>
	<CAKFQuwZpq-hZ-zBN8KhzF3Ke3bheHHpp_f=tEkH30+JTXtaMsg@mail.gmail.com>
	<20221019193057.39aff1c1@sunflower.int.arc7.info>
	<82c54487-2f99-7829-6f76-a266afb8890a@aklaver.com>

On 2022-10-19T12:43:31 -0700
Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
> HINT:  There is an entry for table "t", but it cannot be referenced from 
> this part of the query.
>
> HINT:  There is a column named "x" in table "t", but it cannot be 
> referenced from this part of the query.

Yes, I saw those, hence asking on the list if there was a way to do it.

I'll handle it with multiple statements.

-- 
Mark Raynsford | https://www.io7m.com






view thread (9+ messages)  latest in thread

Message-ID: <20221019194805.79d0b2ed@sunflower.int.arc7.info>
Permalink:  ../20221019194805.79d0b2ed@sunflower.int.arc7.info/
Also on:    postgresql.org/message-id/20221019194805.79d0b2ed@sunflower.int.arc7.info

 · 

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: co+org.postgresql@io7m.com, adrian.klaver@aklaver.com, david.g.johnston@gmail.com
  Subject: Re: Column value derived from generated column in INSERT?
  In-Reply-To: <20221019194805.79d0b2ed@sunflower.int.arc7.info>
  References: <20221019173225.53d939f2@sunflower.int.arc7.info> <CAKFQuwZpq-hZ-zBN8KhzF3Ke3bheHHpp_f=tEkH30+JTXtaMsg@mail.gmail.com> <20221019193057.39aff1c1@sunflower.int.arc7.info> <82c54487-2f99-7829-6f76-a266afb8890a@aklaver.com> <20221019194805.79d0b2ed@sunflower.int.arc7.info>

* 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