I'll study the other discussion a bit more. I agree the current code isn't satisfactory.
I have committed the part of this patch that removes the switch
statement in AlterDomainAddConstraint(). That one is dead code.
- refactor AlterDomainAddConstraint (alter domain add const... jian he
- Re: refactor AlterDomainAddConstraint (alter domain ... Alvaro Herrera
- Re: refactor AlterDomainAddConstraint (alter dom... jian he
- Re: refactor AlterDomainAddConstraint (alter... jian he
- Re: refactor AlterDomainAddConstraint (a... Alvaro Herrera
- Re: refactor AlterDomainAddConstraint (a... Peter Eisentraut