From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maxim Gasumyants <m@gasumyants.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Generated column and partitioning bug
Date: Fri, 04 Feb 2022 13:04:45 -0500
Message-ID: <415297.1643997885@sss.pgh.pa.us> (raw)
In-Reply-To: <95418DF5-D567-4FFC-A77A-DCE9B985692F@gasumyants.com>
References: <95418DF5-D567-4FFC-A77A-DCE9B985692F@gasumyants.com>
Maxim Gasumyants <m@gasumyants.com> writes:
> I am running latest release of PostgreSQL 12.
Are you certain it's the latest? This looks suspiciously like
some Var-numbering bugs we fixed a year or so ago.
I failed to reproduce any problem in 12.9 on the basis of the
info you supplied. I suppose that there might be some additional
conditions needed, like a dropped column in the parent table,
but experimentation didn't find it.
It might be useful to show the results of
select attname, attnum, attisdropped from pg_attribute
where attrelid = 'products_product_offers'::regclass and attnum > 0;
Also, if you can make a self-contained SQL script that exhibits
the problem for you, that would be very useful.
regards, tom lane
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, m@gasumyants.com, pgsql-bugs@lists.postgresql.org
Subject: Re: Generated column and partitioning bug
In-Reply-To: <415297.1643997885@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