Re: [HACKERS] inconsistent comparison of CHECK constraints

2012-01-16 Thread Alvaro Herrera
Excerpts from Tom Lane's message of lun ene 16 12:44:57 -0300 2012: > Alvaro Herrera writes: > > While reviewing Nikhil Sontakke's fix for the inherited constraints open > > item we have, I noticed that MergeWithExistingConstraint and > > MergeConstraintsIntoExisting are using rather different me

Re: [HACKERS] inconsistent comparison of CHECK constraints

2012-01-16 Thread Tom Lane
Alvaro Herrera writes: > While reviewing Nikhil Sontakke's fix for the inherited constraints open > item we have, I noticed that MergeWithExistingConstraint and > MergeConstraintsIntoExisting are using rather different mechanism to > compare equality of the constraint expressions; the former does

[HACKERS] inconsistent comparison of CHECK constraints

2012-01-16 Thread Alvaro Herrera
While reviewing Nikhil Sontakke's fix for the inherited constraints open item we have, I noticed that MergeWithExistingConstraint and MergeConstraintsIntoExisting are using rather different mechanism to compare equality of the constraint expressions; the former does this: { Datum