Re: pgsql: Fix calculation of which GENERATED columns need to be updated.

2023-01-07 Thread Tom Lane
David Rowley writes: > On Fri, 6 Jan 2023 at 08:12, Tom Lane wrote: >> Fix calculation of which GENERATED columns need to be updated. >> src/backend/nodes/outfuncs.c | 1 - >> src/backend/nodes/readfuncs.c| 1 - > Is this missing a cat version bump? ... Ugh, you're

Re: pgsql: Fix calculation of which GENERATED columns need to be updated.

2023-01-07 Thread David Rowley
On Fri, 6 Jan 2023 at 08:12, Tom Lane wrote: > > Fix calculation of which GENERATED columns need to be updated. > Branch > -- > master > src/backend/nodes/outfuncs.c | 1 - > src/backend/nodes/readfuncs.c| 1 - Is this missing a cat version bump? David

pgsql: Fix calculation of which GENERATED columns need to be updated.

2023-01-05 Thread Tom Lane
Fix calculation of which GENERATED columns need to be updated. We were identifying the updatable generated columns of inheritance children by transposing the calculation made for their parent. However, there's nothing that says a traditional-inheritance child can't have generated columns that

pgsql: Fix calculation of which GENERATED columns need to be updated.

2023-01-05 Thread Tom Lane
Fix calculation of which GENERATED columns need to be updated. We were identifying the updatable generated columns of inheritance children by transposing the calculation made for their parent. However, there's nothing that says a traditional-inheritance child can't have generated columns that

pgsql: Fix calculation of which GENERATED columns need to be updated.

2023-01-05 Thread Tom Lane
Fix calculation of which GENERATED columns need to be updated. We were identifying the updatable generated columns of inheritance children by transposing the calculation made for their parent. However, there's nothing that says a traditional-inheritance child can't have generated columns that

pgsql: Fix calculation of which GENERATED columns need to be updated.

2023-01-05 Thread Tom Lane
Fix calculation of which GENERATED columns need to be updated. We were identifying the updatable generated columns of inheritance children by transposing the calculation made for their parent. However, there's nothing that says a traditional-inheritance child can't have generated columns that