pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrien Nayrat <adrien.nayrat@anayrat.info>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: BUG #18097: Immutable expression not allowed in generated at
Date: Wed, 25 Sep 2024 12:48:01 -0400
Message-ID: <11596.1727282881@sss.pgh.pa.us> (raw)
In-Reply-To: <0267c3d0-f5f3-42e2-bf07-29ec10dd728e@anayrat.info>
References: <18097-ebb179674f22932f@postgresql.org>
	<CAKFQuwZW=wyr_Nfi8Ww+U-jxdh4tvztvMjT23iv2Ly+Oc0n5eQ@mail.gmail.com>
	<118FF128-C9CA-490C-8E67-65888EE8283F@jimkeener.com>
	<1887197.1694189299@sss.pgh.pa.us>
	<2250243.1694287087@sss.pgh.pa.us>
	<2275069.1694300202@sss.pgh.pa.us>
	<CAJ7c6TNNG_x8enNdhqmGdg_9A0fNa0LBadecBkuHc-=a7YqaFg@mail.gmail.com>
	<2502479.1699984134@sss.pgh.pa.us>
	<CAJ7c6TN3myMtC4_r+68=a_z60NkBipowWyX76e1j_7Vp05TPnA@mail.gmail.com>
	<2661435.1700061355@sss.pgh.pa.us>
	<CAJ7c6TNX7itd4TCUOmUXWng_C695t9WQsp8bZ_A61PBXvEV0kQ@mail.gmail.com>
	<389130.1700147198@sss.pgh.pa.us>
	<594289a1-922d-497b-939e-20a95a71126d@anayrat.info>
	<3646824.1727275267@sss.pgh.pa.us>
	<0267c3d0-f5f3-42e2-bf07-29ec10dd728e@anayrat.info>

Adrien Nayrat <adrien.nayrat@anayrat.info> writes:
> I see. So I understand we were lucky it worked before the commit added 
> the check of volatility in generated column ?

Pretty much.  There are other cases that could trigger expansion
of such a function before the restore is complete.  It is unfortunate
that this bit you in a minor release, but there are lots of other
ways you could have tripped over the missing dependency unexpectedly.

			regards, tom lane





view thread (16+ messages)

Message-ID: <11596.1727282881@sss.pgh.pa.us>
Permalink:  ../11596.1727282881@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11596.1727282881@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, adrien.nayrat@anayrat.info, pgsql-hackers@lists.postgresql.org
  Subject: Re: BUG #18097: Immutable expression not allowed in generated at
  In-Reply-To: <11596.1727282881@sss.pgh.pa.us>

* 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