Re: Dumping/restoring fails on inherited generated column
Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
From: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>,
Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-11-30T15:37:22Z
Lists: pgsql-hackers
On 09.11.2020 13:43, Peter Eisentraut wrote: > On 2020-11-06 04:55, Masahiko Sawada wrote: >>> Both of these result in the same change to the dump output. Both of >>> them have essentially the same idea. The first one adds the >>> conditionals during the information gathering phase of pg_dump, the >>> second one adds the conditionals during the output phase. >>> >>> Any further thoughts? >> I think the first one is better than the second (mine) because it can >> save the number of intermediate objects. > > I was hoping to wrap this issue up this week, but I found more > problems with how these proposed changes interact with > --binary-upgrade mode. I think I need to formalize my findings into > pg_dump test cases as a next step. Then we can figure out what > combination of tweaks will make them all work. > I am moving this patch to the next CF, but it looks like the discussion is a bit stuck. Peter, can you please share your concerns about the interaction of the patch with --binary-upgrade mode? If you don't have time to write tests, you can just describe problems. -- Anastasia Lubennikova Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
Fix ALTER TABLE / INHERIT with generated columns
- 13ff139a2384 12.7 landed
- 64190d65f299 13.3 landed
- a970edbed306 14.0 landed
-
pg_dump: Fix dumping of inherited generated columns
- 1dd6baf78802 12.6 landed
- 1d3ce0223c6a 13.2 landed
- 0bf83648a52d 14.0 landed
-
Disallow ALTER TABLE ONLY / DROP EXPRESSION
- 539775981746 13.1 landed
- bf797a8d9768 14.0 landed
-
Fix several DDL issues of generated columns versus inheritance
- 086ffddf3656 13.0 cited