Re: ALTER TABLE ADD COLUMN fast default
David Rowley <david.rowley@2ndquadrant.com>
From: David Rowley <david.rowley@2ndquadrant.com>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>,
Thomas Munro <thomas.munro@enterprisedb.com>, Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-03-25T10:43:40Z
Lists: pgsql-hackers
Attachments
- fast_default-v17_fixes.patch (application/octet-stream) patch v17
On 25 March 2018 at 20:09, David Rowley <david.rowley@2ndquadrant.com> wrote: > On 15 March 2018 at 21:33, Andrew Dunstan > <andrew.dunstan@2ndquadrant.com> wrote: >> rebased and mostly indented patch version attached. > > Thanks. I've attached a version of this which applies, builds and > passes the regression tests on current master. > > Some conflicts were caused by 325f2ec555 and there was a new call to > heap_attisnull which needed to be updated. > > I'll look over this now. I've attached a delta patch against the v17 patch that I attached earlier. I didn't change much, but there did seem to be a few places where the patch was not properly setting atthasmissing to false. Most of the rest is just cosmetic stuff With the attached applied, I'm happy to mark the patch as ready for committer, however, Petr is also signed up to review, so will defer to him to see if he has any comments before altering the commitfest app's state. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Clean up treatment of missing default and CHECK-constraint records.
- 091e22b2e673 14.0 landed
-
Fast ALTER TABLE ADD COLUMN with a non-NULL default
- 16828d5c0273 11.0 landed
-
Fix application of identity values in some cases
- 533c5d8bddf0 11.0 cited