Re: add column .. default

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rod Taylor <rbt(at)rbt(dot)ca>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: add column .. default
Date: 2003-06-19 14:12:49
Message-ID: 8500.1056031969@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor <rbt(at)rbt(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2003-06-19 14:29:36 Re: add column .. default
Previous Message Tom Lane 2003-06-19 14:06:03 Re: [Fwd: [GENERAL] [CYGWIN] Problems compiling PostgreSQL 7.3.3-1 under Win98]