Re: Data integrity and sanity check

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Rod Taylor <rbt(at)zort(dot)ca>
Cc: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Data integrity and sanity check
Date: 2002-03-31 05:31:36
Message-ID: 20020331133046.J82404-100000@houston.familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> BTW. There are good reasons sometimes for having data that violates
> current constraints. The top of a tree may have a static record with
> a null parent. The NOT NULL constraint added after this entry (via
> alter table add constraint) should not affect the static record, so
> unless you know your data quite well this type of tool wouldn't be
> particularly useful anyway.

As far as I am aware, there is no alter table add constraint syntax for
NOT NULLs atm. I've submitted a patch that allows alter table/alter
column set/drop not null though.

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Khare 2002-03-31 11:49:57 Re: How to give permission to others on data directory
Previous Message Peter Eisentraut 2002-03-31 03:29:13 Re: compile bug in HEAD?