Skip site navigation (1) Skip section navigation (2)

Re: ALTER TABLE...ALTER COLUMN vs inheritance

From: Selena Deckelmann <selenamarie(at)gmail(dot)com>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER TABLE...ALTER COLUMN vs inheritance
Date: 2010-06-16 03:51:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Wed, May 26, 2010 at 2:37 PM, Bernd Helmle <mailings(at)oopsware(dot)de> wrote:

> Lost it a little from my radar, but here's is a first shot on this issue
> now. The patch creates a new CONSTRAINT_NOTNULL contype and assigns all
> required information for the NOT NULL constraint to it. Currently the
> constraint records the attribute number it belongs to and manages the
> inheritance properties. Passes regression tests with some adjustments to
> pg_constraint output.

Confirmed that this tests fine against commit id

I also wrote a little test script and verified that it throws an error
when I try to remove a constraint from the parent table.

Should an explicit test be added for this?

There are some spelling and grammar errors in comments that I can help
fix if you want the help.


-- - me

In response to


pgsql-hackers by date

Next:From: KaiGai KoheiDate: 2010-06-16 04:54:31
Subject: Re: [v9.1] Add security hook on initialization of instance
Previous:From: Takahiro ItagakiDate: 2010-06-16 03:24:34
Subject: Re: debug log in pg_archivecleanup

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group