Re: add column .. default - Mailing list pgsql-hackers

From Tom Lane
Subject Re: add column .. default
Date
Msg-id 8500.1056031969@sss.pgh.pa.us
Whole thread Raw
In response to Re: add column .. default  (Rod Taylor <rbt@rbt.ca>)
List pgsql-hackers
Rod Taylor <rbt@rbt.ca> writes:
> - alter table structure
> - Add all new constraints (without confirming their correctness at that
> time)
> - update table contents via an SPI call to UPDATE WHERE <column> IS NULL

> The where clause would avoid issues with inherited data being
> overwritten when the child tables are updated.

But it creates issues with failing to check the new constraints at those
same child rows.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [Fwd: [GENERAL] [CYGWIN] Problems compiling PostgreSQL 7.3.3-1 under Win98]
Next
From: "Andrew Dunstan"
Date:
Subject: Re: Two weeks to feature freeze