Re: [PATCHES] ADD/DROPS inherits

2006-06-13 Thread Simon Riggs
On Mon, 2006-06-12 at 17:39 -0400, Greg Stark wrote: Points I'm uncertain about: . I throw an elog() error if there's a null conbin for a CHECK constraint. Is it possible for a valid CHECK constraint structure to have a null conbin? ruleutils shows: elog(ERROR, null conbin for constraint

Re: [PATCHES] ADD/DROPS inherits

2006-06-13 Thread Greg Stark
Simon Riggs [EMAIL PROTECTED] writes: On Mon, 2006-06-12 at 17:39 -0400, Greg Stark wrote: Points I'm uncertain about: . I throw an elog() error if there's a null conbin for a CHECK constraint. Is it possible for a valid CHECK constraint structure to have a null conbin?

[PATCHES] ADD/DROPS inherits

2006-06-12 Thread Greg Stark
I couldn't figure out how to make use of the predigested constraints in the relcache, so I continued on the tack I was on. I just stuf the entire HeapTuple in a list and decompiled the constraint source only if I find a constraint with a matching name. Points I'm uncertain about: . I throw an