Re: Check constraints on partition parents only? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Check constraints on partition parents only?
Date
Msg-id CA+Tgmob9H6iFwwNdnSBXyJyn51uZ0hpwW6ZR=2cKBv+Z6Q-LDg@mail.gmail.com
Whole thread Raw
In response to Re: Check constraints on partition parents only?  (Nikhil Sontakke <nikkhils@gmail.com>)
Responses Re: Check constraints on partition parents only?
Re: Check constraints on partition parents only?
List pgsql-hackers
On Fri, Jul 29, 2011 at 8:30 AM, Nikhil Sontakke <nikkhils@gmail.com> wrote:
> Yeah, I have already hacked it a bit. This constraint now needs to be
> spit out later as an ALTER command with ONLY attached to it
> appropriately. Earlier all CHECK constraints were generally emitted as
> part of the table definition itself.

Hrm.  That doesn't seem so good.  Maybe we've got the design wrong
here.  It doesn't seem like we want to lose the ability to define
arbitrary constraints at table-creation time.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Nikhil Sontakke
Date:
Subject: Re: Check constraints on partition parents only?
Next
From: Tom Lane
Date:
Subject: Re: Check constraints on partition parents only?